Skip to content

fix: add organization_administration write to verify-github#172

Merged
eslerm merged 1 commit intochainguard-dev:mainfrom
eslerm:fix/verify-github-ruleset-perms
Mar 5, 2026
Merged

fix: add organization_administration write to verify-github#172
eslerm merged 1 commit intochainguard-dev:mainfrom
eslerm:fix/verify-github-ruleset-perms

Conversation

@eslerm
Copy link
Copy Markdown
Contributor

@eslerm eslerm commented Mar 5, 2026

Summary

Add organization_administration: write to the verify-github STS policy. GitHub REST API requires write permission even for GET on organization rulesets (docs).

Needed for terraform plan to read existing ruleset state when importing chainguard-dev's 4 UI-created rulesets into IaC.

Same fix previously applied to chainguard-sandbox/.github#8 and chainguard-partners/.github#4.

GitHub REST API requires write permission even for GET on organization
rulesets. Needed for terraform plan to read ruleset state.
@antitree antitree self-requested a review March 5, 2026 02:22
@eslerm eslerm merged commit 91c6f82 into chainguard-dev:main Mar 5, 2026
5 checks passed
eslerm added a commit that referenced this pull request Mar 5, 2026
## Summary

Add `organization_administration: write` to the sync-github STS policy.
Required for terraform apply to manage organization rulesets on
chainguard-dev.

Same permission previously added to verify-github in
[#172](#172) for plan.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants