Skip to content

ci: scope release token permissions to jobs - #1220

Merged
DaleSeo merged 1 commit into
mainfrom
jamadeo/scope-release-token-permissions
Aug 27, 2026
Merged

ci: scope release token permissions to jobs#1220
DaleSeo merged 1 commit into
mainfrom
jamadeo/scope-release-token-permissions

Conversation

@jamadeo

@jamadeo jamadeo commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Removes workflow-wide write access from release-plz.yml and defaults the workflow token to no permissions. Each job now receives only the permissions documented by release-plz:

  • release-plz release: contents: write, pull-requests: read
  • release-plz release-pr: contents: write, pull-requests: write

Addresses the release token-permission finding tracked in #1215.

@github-actions github-actions Bot added T-CI Changes to CI/CD workflows and configuration T-config Configuration file changes labels Aug 25, 2026
@jamadeo
jamadeo force-pushed the jamadeo/scope-release-token-permissions branch from 631eff9 to e7f5692 Compare August 25, 2026 18:54
@jamadeo
jamadeo marked this pull request as ready for review August 25, 2026 18:56
@jamadeo
jamadeo requested a review from a team as a code owner August 25, 2026 18:56
@DaleSeo
DaleSeo merged commit 103bf23 into main Aug 27, 2026
22 checks passed
@DaleSeo
DaleSeo deleted the jamadeo/scope-release-token-permissions branch August 27, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-CI Changes to CI/CD workflows and configuration T-config Configuration file changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants