1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 11:02:35 +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:
Tobi 2023-09-27 10:04:27 +02:00
parent 0758cd6980
commit fe7d1692c3

View File

@ -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