Issues identified during setup/sync

オープン
#1 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
github-actions, terraform, typescript

調査の方向性

まず research-website の GitHub Actions の同期実行と、その Terraform import コマンドを確認し、続いて暗号化された secrets、初回同期、リポジトリの保護、読み取り専用権限に関するセットアップのセクションを確認します。セットアップのガイダンスが確認された組織設定と一致し、報告された 403 エラーなしで同期が完了すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Where creating encrypted secrets

says "Create encrypted secrets for the GitHub organization" but looking at other orgs, I saw the secrets were created at the repo level. That makes sense. Maybe suggest that?

Initial sync

Suggest setting lock to false?

I didn't do anything in "GitHub Management Repository Protections"

I assume this should get cleaned up.

More RO permissions needed?

I hit this when trying to sync. I increased the RO permission in https://github.com/organizations/filecoin-project/settings/apps/filecoin-mgmt-read-only/permissions

https://github.com/filecoin-project/research

Listing github-mgmt branch protection rules...
/home/runner/work/_temp/3a8c0073-65ae-4de6-b6bf-63970e59de9f/terraform import -lock=false github_repository.this["research-website"] research-website
github_repository.this["research-website"]: Importing from ID "research-website"...
github_repository.this["research-website"]: Import prepared!
  Prepared github_repository for import
github_repository.this["research-website"]: Refreshing state... [id=research-website]
╷
│ Error: GET https://api.github.com/repos/filecoin-project/research-website/pages: 403 Resource not accessible by integration []
│ 
│ 
╵

/home/runner/work/github-mgmt/github-mgmt/scripts/node_modules/@actions/exec/lib/toolrunner.js:592
                error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);
                        ^

Error: The process '/home/runner/work/_temp/3a8c0073-65ae-4de6-b6bf-6[397](https://github.com/filecoin-project/github-mgmt/actions/runs/4080052693/jobs/7032387690#step:6:398)0e59de9f/terraform' failed with exit code 1
    at ExecState._setResult (/home/runner/work/github-mgmt/github-mgmt/scripts/node_modules/@actions/exec/lib/toolrunner.js:592:25)
    at ExecState.CheckComplete (/home/runner/work/github-mgmt/github-mgmt/scripts/node_modules/@actions/exec/lib/toolrunner.js:575:18)
    at ChildProcess.<anonymous> (/home/runner/work/github-mgmt/github-mgmt/scripts/node_modules/@actions/exec/lib/toolrunner.js:469:27)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
Error: Process completed with exit code 1.
主要言語
TypeScript
スター
2
フォーク
25
平均マージ
2日 12時間
マージ済み PR(30日)
4

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

filecoin-project/github-mgmt のほかの issue

filecoin-project/github-mgmt の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。