mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-22 02:53:09 +01:00
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
This commit is contained in:
parent
0758cd6980
commit
fe7d1692c3
2
.github/workflows/pr-labeler.yml
vendored
2
.github/workflows/pr-labeler.yml
vendored
@ -8,6 +8,8 @@ jobs:
|
|||||||
changed-lines-count-labeler:
|
changed-lines-count-labeler:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Automatically labelling pull requests based on the changed lines count
|
name: Automatically labelling pull requests based on the changed lines count
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Set a label
|
- name: Set a label
|
||||||
uses: vkirilichev/changed-lines-count-labeler@v0.2
|
uses: vkirilichev/changed-lines-count-labeler@v0.2
|
||||||
|
Loading…
Reference in New Issue
Block a user