Skip to content

Commit cb1cbaa

Browse files
authored
Fix Action to assign reviewers for Dependabot PRs (#2958)
1 parent 662fe44 commit cb1cbaa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/assign-dependabot-pr-reviewers.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
if: github.actor == 'dependabot[bot]'
1212

13-
permissions:
14-
pull-requests: write
15-
1613
steps:
1714
- name: Assign ScalarDB team as reviewers for Dependabot PRs
1815
env:
19-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
GH_TOKEN: ${{ secrets.ASSIGN_PR_REVIEWERS_PAT }}
2017
PR_NUMBER: ${{ github.event.pull_request.number }}
2118
REPOSITORY: ${{ github.repository }}
2219
run: gh pr edit $PR_NUMBER --repo $REPOSITORY --add-reviewer scalar-labs/scalardb

0 commit comments

Comments
 (0)