From 8d120bea7b7720330bff2c5433331cd04b6f4259 Mon Sep 17 00:00:00 2001 From: Beau Raines Date: Fri, 21 Jun 2024 20:54:38 -0700 Subject: [PATCH] chore: auto assign PRs to me Uses kentaro-m/auto-assign-action@v2.0.0 to automatically set me as a reviewer for dependabot PRs I figure thats a little less invasive than assigned. Though its probably just the same --- .github/auto_assign.yml | 8 ++++++++ .github/workflows/auto-assign-PR.yml | 14 ++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/auto_assign.yml create mode 100644 .github/workflows/auto-assign-PR.yml diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 0000000..7f41e3b --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,8 @@ +# Set to true to add reviewers to pull requests +addReviewers: true + +# Set to true to add assignees to pull requests +addAssignees: false + +reviewers: beauraines +assign-yourself: false \ No newline at end of file diff --git a/.github/workflows/auto-assign-PR.yml b/.github/workflows/auto-assign-PR.yml new file mode 100644 index 0000000..b9f34e1 --- /dev/null +++ b/.github/workflows/auto-assign-PR.yml @@ -0,0 +1,14 @@ +name: Auto-assign reviewers for Dependabot PRs + +on: + pull_request: + types: [opened, reopened] + +jobs: + assign-reviewers: + if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' + runs-on: ubuntu-latest + steps: + - name: Assign reviewers + uses: kentaro-m/auto-assign-action@v2.0.0 +