Skip to content

ci: declare explicit GitHub token permissions#38

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

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

Conversation

@devkoriel
Copy link
Copy Markdown
Contributor

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/release.yml: contents: write (softprops/action-gh-release creates GitHub releases 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 9922197 into main May 9, 2026
4 of 5 checks passed
@devkoriel devkoriel deleted the security/explicit-github-token-permissions-20260509 branch May 9, 2026 03:44
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