Skip to content

Commit fe7d169

Browse files
committed
Fix PR labeler permissions
Although the permission to modify PRs is granted to the entire workflow, the job still reports that it does not the permission to do so: GITHUB_TOKEN Permissions Contents: read Metadata: read PullRequests: read This adds the permission to the job directly
1 parent 0758cd6 commit fe7d169

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/pr-labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
changed-lines-count-labeler:
99
runs-on: ubuntu-latest
1010
name: Automatically labelling pull requests based on the changed lines count
11+
permissions:
12+
pull-requests: write
1113
steps:
1214
- name: Set a label
1315
uses: vkirilichev/changed-lines-count-labeler@v0.2

0 commit comments

Comments
 (0)