Skip to content

Commit b646195

Browse files
authored
Misc: Set permissions for labeler Action
Like in the example on https://github.com/actions/labeler#create-workflow
1 parent d7b06aa commit b646195

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/labeler.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44

55
jobs:
66
triage:
7+
permissions:
8+
contents: read
9+
pull-requests: write
710
runs-on: ubuntu-latest
811
steps:
912
- uses: actions/labeler@v4

0 commit comments

Comments
 (0)