Skip to content

Issues identified during setup/sync #1

Description

@BigLep

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions