Skip to content

Commit

Permalink
Fix: permissions for labeler jobs (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman authored Dec 18, 2024
2 parents c1912d4 + 58fa9f9 commit 18cf9bb
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 18cf9bb

Please sign in to comment.