Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/community_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
permissions:
contents: read
issues: write
pull-requests: write
Comment on lines 13 to +15
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 issues: write may be redundant with this fix

The workflow only calls issues.addLabels on existing labels — it never creates new labels. The PR description states issues: write is "needed to create new labels," but no label creation happens here. If pull-requests: write is now the permission that enables addLabels on PR objects (as this fix implies), issues: write may be unnecessary and could be dropped to keep the token scope minimal.


jobs:
label:
Expand Down
Loading