Skip to content

Commit b186b47

Browse files
committed
Add permissions to the label-issue workflow
It needs write permissions on PRs as well otherwise it fails to runs.
1 parent 9692997 commit b186b47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/label-issue.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
permissions:
1313
issues: write
14+
pull-requests: write
1415
steps:
1516
- run: gh issue edit "$NUMBER" --remove-label "needinfo"
1617
env:

0 commit comments

Comments
 (0)