Skip to content

Commit 2150a3d

Browse files
committed
fix(ci): permissions for labeler jobs
1 parent 3441c31 commit 2150a3d

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/dependency-triage.yml

Lines changed: 2 additions & 0 deletions
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:

.github/workflows/labeler-actions.yml

Lines changed: 2 additions & 0 deletions
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

.github/workflows/labeler-docs.yml

Lines changed: 2 additions & 0 deletions
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)