Skip to content

Commit

Permalink
Merge pull request #644 from cmu-delphi/ds/dependabot
Browse files Browse the repository at this point in the history
ci: make dependabot assign reviewers
  • Loading branch information
dshemetov committed Jun 29, 2023
2 parents 525d946 + 0e774a3 commit 87b8ad1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/dependabot-assignments.yml
@@ -0,0 +1,17 @@
name: Dependabot auto-assign reviewer
on: pull_request

permissions:
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Assign team to PR
run: gh pr edit "$PR_URL" --add-reviewer "cmu-delphi/code-reviewers"
env:
PR_URL: ${{github.event.pull_request.html_url}}

0 comments on commit 87b8ad1

Please sign in to comment.