Skip to content

Commit 8b4b2b7

Browse files
authored
fix(workflows/labeler): grant "issues: write" permission (#25142)
The pr-size-labeler action currently relies on that permission, because it uses the issues API (which requires the issues permission), not the labels API (which requires either the issues or the pull requests permission).
1 parent e6bd0ca commit 8b4b2b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/labeler.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44

55
permissions:
66
contents: read # to determine modified files
7+
issues: write # pr-size-labeler uses the issues API until https://github.com/CodelyTV/pr-size-labeler/pull/89 is merged
78
pull-requests: write # to add labels to PRs
89

910
jobs:

0 commit comments

Comments
 (0)