Skip to content

Commit 18cf9bb

Browse files
authored
Fix: permissions for labeler jobs (#59)
2 parents c1912d4 + 58fa9f9 commit 18cf9bb

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Diff for: .github/workflows/dependency-triage.yml

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
jobs:
88
dependency-triage:
99
runs-on: ubuntu-latest
10+
permissions:
11+
pull-requests: write
1012
# see https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#responding-to-events
1113
if: github.actor == 'dependabot[bot]' || github.actor == 'pre-commit-ci[bot]'
1214
steps:

Diff for: .github/workflows/labeler-actions.yml

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
jobs:
1111
label-actions:
1212
runs-on: ubuntu-latest
13+
permissions:
14+
pull-requests: write
1315
steps:
1416
- name: add-label
1517
uses: andymckay/labeler@master

Diff for: .github/workflows/labeler-docs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
label-docs:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
pull-requests: write
1517
steps:
1618
- name: add-label
1719
uses: andymckay/labeler@master

0 commit comments

Comments
 (0)