ipfs / github-mgmt

10 stars 25 forks source link

fix(perms): :passport_control: Adding helia-dev as owners + branch protections #132

Closed whizzzkid closed 1 year ago

whizzzkid commented 1 year ago

Summary

Adding @ipfs/helia-dev as CODEOWNERS and admins for:

Why do you need this?

Based off discussions in:

What else do we need to know?

This is to support helia development in the open-source.

DRI:

Reviewer's Checklist

github-actions[bot] commented 1 year ago

Before merge, verify that all the following plans are correct. They will be applied as-is after the merge.

Terraform plans

ipfs ``` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create ~ update in-place Terraform will perform the following actions: # github_branch_protection.this["helia-cli:main"] will be created + resource "github_branch_protection" "this" { + allows_deletions = false + allows_force_pushes = false + enforce_admins = true + id = (known after apply) + pattern = "main" + repository_id = "R_kgDOI5I58Q" + require_conversation_resolution = false + require_signed_commits = false + required_linear_history = false + required_pull_request_reviews { + dismiss_stale_reviews = false + require_code_owner_reviews = true + required_approving_review_count = 1 + restrict_dismissals = false } + required_status_checks { + strict = true } } # github_branch_protection.this["helia-ipns:main"] will be created + resource "github_branch_protection" "this" { + allows_deletions = false + allows_force_pushes = false + enforce_admins = true + id = (known after apply) + pattern = "main" + repository_id = "R_kgDOI5eJZw" + require_conversation_resolution = false + require_signed_commits = false + required_linear_history = false + required_pull_request_reviews { + dismiss_stale_reviews = false + require_code_owner_reviews = true + required_approving_review_count = 1 + restrict_dismissals = false } + required_status_checks { + strict = true } } # github_branch_protection.this["helia-unixfs:main"] will be created + resource "github_branch_protection" "this" { + allows_deletions = false + allows_force_pushes = false + enforce_admins = true + id = (known after apply) + pattern = "main" + repository_id = "R_kgDOI5I8eA" + require_conversation_resolution = false + require_signed_commits = false + required_linear_history = false + required_pull_request_reviews { + dismiss_stale_reviews = false + require_code_owner_reviews = true + required_approving_review_count = 1 + restrict_dismissals = false } + required_status_checks { + strict = true } } # github_branch_protection.this["helia:main"] will be created + resource "github_branch_protection" "this" { + allows_deletions = false + allows_force_pushes = false + enforce_admins = true + id = (known after apply) + pattern = "main" + repository_id = "R_kgDOITlkXg" + require_conversation_resolution = false + require_signed_commits = false + required_linear_history = false + required_pull_request_reviews { + dismiss_stale_reviews = false + require_code_owner_reviews = true + required_approving_review_count = 1 + restrict_dismissals = false } + required_status_checks { + strict = true } } # github_repository_file.this["go-protocolnetwork/.github/workflows/stale.yml"] will be created + resource "github_repository_file" "this" { + branch = "main" + commit_author = (known after apply) + commit_email = (known after apply) + commit_message = "chore: Update .github/workflows/stale.yml [skip ci]" + commit_sha = (known after apply) + content = <<-EOT name: Close and mark stale issue on: schedule: - cron: '0 0 * * *' jobs: stale: runs-on: ubuntu-latest permissions: issues: write pull-requests: write steps: - uses: actions/stale@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.' close-issue-message: 'This issue was closed because it is missing author input.' stale-issue-label: 'kind/stale' any-of-labels: 'need/author-input' exempt-issue-labels: 'need/triage,need/community-input,need/maintainer-input,need/maintainers-input,need/analysis,status/blocked,status/in-progress,status/ready,status/deferred,status/inactive' days-before-issue-stale: 6 days-before-issue-close: 7 enable-statistics: true EOT + file = ".github/workflows/stale.yml" + id = (known after apply) + overwrite_on_create = false + repository = "go-protocolnetwork" + sha = (known after apply) } # github_repository_file.this["helia-cli/codeowners"] will be created + resource "github_repository_file" "this" { + branch = "main" + commit_author = (known after apply) + commit_email = (known after apply) + commit_message = "chore: Update CODEOWNERS [skip ci]" + commit_sha = (known after apply) + content = <<-EOT * @ipfs/helia-dev EOT + file = "CODEOWNERS" + id = (known after apply) + overwrite_on_create = false + repository = "helia-cli" + sha = (known after apply) } # github_repository_file.this["helia-ipns/.github/workflows/stale.yml"] will be created + resource "github_repository_file" "this" { + branch = "main" + commit_author = (known after apply) + commit_email = (known after apply) + commit_message = "chore: Update .github/workflows/stale.yml [skip ci]" + commit_sha = (known after apply) + content = <<-EOT name: Close and mark stale issue on: schedule: - cron: '0 0 * * *' jobs: stale: runs-on: ubuntu-latest permissions: issues: write pull-requests: write steps: - uses: actions/stale@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.' close-issue-message: 'This issue was closed because it is missing author input.' stale-issue-label: 'kind/stale' any-of-labels: 'need/author-input' exempt-issue-labels: 'need/triage,need/community-input,need/maintainer-input,need/maintainers-input,need/analysis,status/blocked,status/in-progress,status/ready,status/deferred,status/inactive' days-before-issue-stale: 6 days-before-issue-close: 7 enable-statistics: true EOT + file = ".github/workflows/stale.yml" + id = (known after apply) + overwrite_on_create = false + repository = "helia-ipns" + sha = (known after apply) } # github_repository_file.this["helia-ipns/codeowners"] will be created + resource "github_repository_file" "this" { + branch = "main" + commit_author = (known after apply) + commit_email = (known after apply) + commit_message = "chore: Update CODEOWNERS [skip ci]" + commit_sha = (known after apply) + content = <<-EOT * @ipfs/helia-dev EOT + file = "CODEOWNERS" + id = (known after apply) + overwrite_on_create = false + repository = "helia-ipns" + sha = (known after apply) } # github_repository_file.this["helia-unixfs/codeowners"] will be created + resource "github_repository_file" "this" { + branch = "main" + commit_author = (known after apply) + commit_email = (known after apply) + commit_message = "chore: Update CODEOWNERS [skip ci]" + commit_sha = (known after apply) + content = <<-EOT * @ipfs/helia-dev EOT + file = "CODEOWNERS" + id = (known after apply) + overwrite_on_create = false + repository = "helia-unixfs" + sha = (known after apply) } # github_repository_file.this["helia/codeowners"] will be created + resource "github_repository_file" "this" { + branch = "main" + commit_author = (known after apply) + commit_email = (known after apply) + commit_message = "chore: Update CODEOWNERS [skip ci]" + commit_sha = (known after apply) + content = <<-EOT * @ipfs/helia-dev EOT + file = "CODEOWNERS" + id = (known after apply) + overwrite_on_create = false + repository = "helia" + sha = (known after apply) } # github_team.this["helia-dev"] will be updated in-place ~ resource "github_team" "this" { + create_default_maintainer = false ~ description = "Folks working on Helia" -> "Helia Developers and engineers" id = "7676419" name = "helia-dev" # (5 unchanged attributes hidden) } # github_team_membership.this["helia-dev:achingbrain"] will be updated in-place ~ resource "github_team_membership" "this" { id = "7676419:achingbrain" ~ role = "member" -> "maintainer" # (3 unchanged attributes hidden) } # github_team_membership.this["helia-dev:whizzzkid"] will be updated in-place ~ resource "github_team_membership" "this" { id = "7676419:whizzzkid" ~ role = "maintainer" -> "member" # (3 unchanged attributes hidden) } # github_team_repository.this["helia-dev:helia-cli"] will be created + resource "github_team_repository" "this" { + etag = (known after apply) + id = (known after apply) + permission = "admin" + repository = "helia-cli" + team_id = "7676419" } # github_team_repository.this["helia-dev:helia-ipns"] will be created + resource "github_team_repository" "this" { + etag = (known after apply) + id = (known after apply) + permission = "admin" + repository = "helia-ipns" + team_id = "7676419" } # github_team_repository.this["helia-dev:helia-unixfs"] will be created + resource "github_team_repository" "this" { + etag = (known after apply) + id = (known after apply) + permission = "admin" + repository = "helia-unixfs" + team_id = "7676419" } # github_team_repository.this["ipdx:helia-ipns"] will be created + resource "github_team_repository" "this" { + etag = (known after apply) + id = (known after apply) + permission = "admin" + repository = "helia-ipns" + team_id = "6349983" } # github_team_repository.this["w3dt-stewards:helia-ipns"] will be created + resource "github_team_repository" "this" { + etag = (known after apply) + id = (known after apply) + permission = "admin" + repository = "helia-ipns" + team_id = "4656983" } Plan: 15 to add, 3 to change, 0 to destroy. ```