Skip to content

Commit 093f4f0

Browse files
authored
update polcies (#10)
1 parent 289c3bf commit 093f4f0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

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

99
permissions:
10-
administration: write # to add/remove repositories
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)
1112
members: write # to add/remove GitHub members
1213
metadata: read # to read metadata about the org
1314

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ claim_pattern:
88

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

0 commit comments

Comments
 (0)