Skip to content

ci: declare least-privilege token permissions#7

Merged
stremovsky merged 1 commit into
mainfrom
ci/least-privilege-token
Jul 13, 2026
Merged

ci: declare least-privilege token permissions#7
stremovsky merged 1 commit into
mainfrom
ci/least-privilege-token

Conversation

@stremovsky

Copy link
Copy Markdown
Contributor

maven.yml had no permissions: block, so it inherited the org default (write) — blanket write to repo contents. It only needs packages: write for mvn deploy to GitHub Packages.

Required before flipping the org default default_workflow_permissions to read; without this, publishing to GitHub Packages would break on the next push to main. This was the only workflow across all 22 active repos that would have broken.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@stremovsky stremovsky merged commit 7a7aa2a into main Jul 13, 2026
4 checks passed
@stremovsky stremovsky deleted the ci/least-privilege-token branch July 13, 2026 17:07
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