Skip to content

security(ci): scope Pages OIDC to the docs deploy job - #167

Merged
luisgf merged 1 commit into
mainfrom
ci/audit-157
Aug 13, 2026
Merged

security(ci): scope Pages OIDC to the docs deploy job#167
luisgf merged 1 commit into
mainfrom
ci/audit-157

Conversation

@luisgf

@luisgf luisgf commented Aug 13, 2026

Copy link
Copy Markdown
Owner

docs.yml granted pages: write and id-token: write at workflow level, so the build job (including pull_request) inherited OIDC minting. ci.yml already scopes id-token: write to the publish job only.

Workflow permissions are now contents: read. The deploy job — already gated to non-PR — takes pages: write + id-token: write. configure-pages moves onto that job.

Closes #157

Verified: bash .claude/skills/ship-issue/scripts/gate.sh.

id-token:write and pages:write sat at workflow level, so PR builds
inherited OIDC minting they do not need.

Closes #157
@luisgf
luisgf merged commit 48d036e into main Aug 13, 2026
13 of 14 checks passed
@luisgf
luisgf deleted the ci/audit-157 branch August 13, 2026 15:13
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.

docs.yml grants id-token:write to the whole workflow including PR builds

1 participant