From a04852012c1e56d7770b9dec40d9b1cff85bd197 Mon Sep 17 00:00:00 2001 From: Gladwin Johnson <90415114+gladjohn@users.noreply.github.com> Date: Tue, 18 Jul 2023 11:34:41 -0700 Subject: [PATCH] Auto assign reviewers (#4254) * Create auto_assign.yml * Create auto_assign_reviewer.yml --- .github/auto_assign.yml | 17 +++++++++++++++++ .github/workflows/auto_assign_reviewer.yml | 10 ++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/auto_assign.yml create mode 100644 .github/workflows/auto_assign_reviewer.yml diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 0000000000..a003c00e61 --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,17 @@ +# Set to true to add reviewers to pull requests +addReviewers: true + +# Set to true to add assignees to pull requests +addAssignees: false + +# A list of reviewers to be added to pull requests (GitHub user name) +reviewers: + - pmaytak + - gladjohn + - bgavrilMS + - neha-bhargava + - trwalke + +# A number of reviewers added to the pull request +# Set 0 to add all the reviewers (default: 0) +# numberOfReviewers: 2 diff --git a/.github/workflows/auto_assign_reviewer.yml b/.github/workflows/auto_assign_reviewer.yml new file mode 100644 index 0000000000..b0789b3877 --- /dev/null +++ b/.github/workflows/auto_assign_reviewer.yml @@ -0,0 +1,10 @@ +name: 'Auto Assign' +on: + pull_request_target: + types: [opened, ready_for_review] + +jobs: + add-reviews: + runs-on: ubuntu-latest + steps: + - uses: kentaro-m/auto-assign-action@v1.2.2