Skip to content

Commit

Permalink
fix(ci): permissions for labeler jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Dec 17, 2024
1 parent 3441c31 commit 2150a3d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dependency-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
dependency-triage:
runs-on: ubuntu-latest
permissions:
pull-requests: write
# see https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#responding-to-events
if: github.actor == 'dependabot[bot]' || github.actor == 'pre-commit-ci[bot]'
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/labeler-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
jobs:
label-actions:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: add-label
uses: andymckay/labeler@master
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/labeler-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
jobs:
label-docs:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: add-label
uses: andymckay/labeler@master
Expand Down

0 comments on commit 2150a3d

Please sign in to comment.