Skip to content

Drop the discussions permission from the cut workflow - #8

Merged
lorisleiva merged 1 commit into
mainfrom
fix/drop-discussions-permission
Aug 28, 2026
Merged

Drop the discussions permission from the cut workflow#8
lorisleiva merged 1 commit into
mainfrom
fix/drop-discussions-permission

Conversation

@lorisleiva

Copy link
Copy Markdown
Member

Fifth rehearsal finding: a called workflow's permissions must be a subset of the caller's, so declaring discussions: write here made every wrapper without that grant fail at startup. Since the hub-aware announce writes with the app token, GITHUB_TOKEN never needs the permission — dropped, and no wrapper needs it either.

@lorisleiva
lorisleiva merged commit cc0b8c9 into main Aug 28, 2026
@lorisleiva
lorisleiva deleted the fix/drop-discussions-permission branch August 28, 2026 14:38
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