Skip to content

Scope release workflow permissions - #28

Merged
offyotto merged 1 commit into
mainfrom
security/release-permissions
Jul 21, 2026
Merged

Scope release workflow permissions#28
offyotto merged 1 commit into
mainfrom
security/release-permissions

Conversation

@offyotto

Copy link
Copy Markdown
Owner

The release job needs write access to publish and attest artifacts. Granting that access at workflow scope gives every job the same token permissions.

Set the workflow default to read-only and grant write permissions only to the release job.

Check: actionlint 1.7.12

@offyotto
offyotto force-pushed the security/release-permissions branch from 96ea72c to b0cb16c Compare July 21, 2026 11:18
@offyotto
offyotto merged commit b60325c into main Jul 21, 2026
3 checks passed
@offyotto
offyotto deleted the security/release-permissions branch July 21, 2026 11:20
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