Deal with Ubuntu 20.04 Actions runner image deprecation #896
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dependabot auto-assign reviewer | |
on: pull_request | |
permissions: | |
pull-requests: write | |
jobs: | |
dependabot: | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ secrets.CMU_DELPHI_AUTOMATION_MACHINE_DEPENDABOT_PAT }} | |
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}} |