From 5c80dba8db80e027968aa367f397ccb16d295801 Mon Sep 17 00:00:00 2001 From: Matthew Lorimor Date: Thu, 12 Nov 2026 21:50:40 -0600 Subject: [PATCH] verify-github: drop the write and contents scopes infra's verify-github plans run with refresh: false, so they no longer read the repository merge settings or organization rulesets that need write, and no data source they read needs contents. Applies use the sync-github identity, which is unchanged. Co-Authored-By: Claude Sonnet 5.5 --- .github/chainguard/verify-github.sts.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/chainguard/verify-github.sts.yaml b/.github/chainguard/verify-github.sts.yaml index 5fcb5f9..59cf76f 100644 --- a/.github/chainguard/verify-github.sts.yaml +++ b/.github/chainguard/verify-github.sts.yaml @@ -8,10 +8,9 @@ claim_pattern: permissions: administration: read # required to read the repository - contents: write # required per terraform docs (https://registry.terraform.io/providers/integrations/github/latest/docs/resources/repository) members: read # to add/remove GitHub members metadata: read # to read metadata about the org - organization_administration: write # required to read organization rulesets + organization_administration: read # to list the org's app installations organization_custom_org_roles: read # required for reading custom organization roles organization_custom_roles: read # required for reading custom repository roles repositories: [] # Act over all of the repos in the org.