Skip to content

Commit 113a1a2

Browse files
authored
Merge pull request #73 from cmu-delphi/ds/dependabot
ci: make dependabot assign reviewers
2 parents 679a747 + 25cee82 commit 113a1a2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Dependabot auto-assign reviewer
2+
on: pull_request
3+
4+
permissions:
5+
pull-requests: write
6+
7+
jobs:
8+
dependabot:
9+
runs-on: ubuntu-latest
10+
env:
11+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
if: ${{ github.actor == 'dependabot[bot]' }}
13+
steps:
14+
- name: Assign team to PR
15+
run: gh pr edit "$PR_URL" --add-reviewer "cmu-delphi/code-reviewers"
16+
env:
17+
PR_URL: ${{github.event.pull_request.html_url}}

0 commit comments

Comments
 (0)