Skip to content

Add explicit permissions to enforce_branch_name workflow#54

Merged
lucasmerlin merged 1 commit intomainfrom
fix/enforce-branch-name-permissions
Mar 17, 2026
Merged

Add explicit permissions to enforce_branch_name workflow#54
lucasmerlin merged 1 commit intomainfrom
fix/enforce-branch-name-permissions

Conversation

@lucasmerlin
Copy link
Member

This workflow uses pull_request_target but has no permissions: block, so it inherits the repository default token permissions. Adding permissions: issues: write restricts the token to the minimum needed (posting a comment on failure).

@lucasmerlin lucasmerlin merged commit 5a8f231 into main Mar 17, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant