Skip to content

ci: declare explicit GitHub token permissions#2

Merged
devkoriel merged 1 commit into
mainfrom
security/explicit-github-token-permissions-followup-20260509
May 9, 2026
Merged

ci: declare explicit GitHub token permissions#2
devkoriel merged 1 commit into
mainfrom
security/explicit-github-token-permissions-followup-20260509

Conversation

@devkoriel
Copy link
Copy Markdown

Summary

  • add explicit least-privilege GITHUB_TOKEN permissions before the org default is switched to read-only
  • keep write scopes limited to workflows that currently rely on default-token writes

Permission changes

  • .github/workflows/docker.yml: contents: read, packages: write (workflow pushes production Docker images to GHCR with GITHUB_TOKEN)

Verification

  • generated from the refreshed RFC-043 GitHub Actions token write-permission inventory
  • intended to preserve behavior after org-level default token permissions become read-only

@devkoriel devkoriel merged commit fb47fed into main May 9, 2026
1 check passed
@devkoriel devkoriel deleted the security/explicit-github-token-permissions-followup-20260509 branch May 9, 2026 04:06
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.

1 participant