Skip to content

Commit 9e3ec36

Browse files
authored
update sts policy to add repo management (#50)
1 parent dd11daa commit 9e3ec36

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/chainguard/sync-github.sts.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ claim_pattern:
77
job_workflow_ref: chainguard-dev/infra/.github/workflows/.terraform.yaml@.*
88

99
permissions:
10+
administration: write # required to manage the repository
11+
contents: write # required per terraform docs (https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository)
1012
members: write # to add/remove GitHub members
1113
metadata: read # to read metadata about the org
1214

.github/chainguard/verify-github.sts.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ claim_pattern:
77
job_workflow_ref: chainguard-dev/infra/.github/workflows/.terraform.yaml@.*
88

99
permissions:
10-
members: write # to add/remove GitHub members
10+
administration: read # required to read the repository
11+
contents: write # required per terraform docs (https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository)
12+
members: read # to add/remove GitHub members
1113
metadata: read # to read metadata about the org
1214

1315
repositories: [] # Act over all of the repos in the org.

0 commit comments

Comments
 (0)