From cffb639380df5be6614a9b4535ebaa4de4904077 Mon Sep 17 00:00:00 2001 From: Nolan Brubaker Date: Fri, 24 Jul 2020 15:58:44 -0400 Subject: [PATCH] Auto-assign github PR reviewers and assignee (#2758) Use a GitHub Action to automatically assign GitHub PRs to the author, as well as add reviewers. Signed-off-by: Nolan Brubaker --- .github/auto_assign.yml | 7 +++++++ .github/workflows/auto_assign_prs.yml | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 .github/auto_assign.yml create mode 100644 .github/workflows/auto_assign_prs.yml diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 000000000..baa44d130 --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,7 @@ +addReviewers: true +addAssignees: author + +reviewers: + - nrb + - ashish-amarnath + - carlisia diff --git a/.github/workflows/auto_assign_prs.yml b/.github/workflows/auto_assign_prs.yml new file mode 100644 index 000000000..9e237fe89 --- /dev/null +++ b/.github/workflows/auto_assign_prs.yml @@ -0,0 +1,9 @@ +name: 'Auto Assign PRs' +on: pull_request + +jobs: add-reviewers: + runs-on: ubuntu-latest + steps: + - uses: kentaro-m/auto-assign-action@v1.1.1 + with: + configuration-path: ".github/auto_assign.yml"