From ff4d2a608a154c86f65034bb9273f3bef63d307d Mon Sep 17 00:00:00 2001 From: EvolutionX Date: Sat, 24 Sep 2022 10:36:19 +0530 Subject: [PATCH] ci: add auto reviewer --- .github/auto_assign.yml | 7 +++++++ .github/workflows/auto-review.yml | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .github/auto_assign.yml create mode 100644 .github/workflows/auto-review.yml diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 0000000..6a9cd67 --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,7 @@ +addReviewers: true + +reviewers: + - EvolutionX-10 + - jacoobes + +numberOfReviewers: 0 \ No newline at end of file diff --git a/.github/workflows/auto-review.yml b/.github/workflows/auto-review.yml new file mode 100644 index 0000000..d682221 --- /dev/null +++ b/.github/workflows/auto-review.yml @@ -0,0 +1,11 @@ +name: 'PR Auto Review' +on: + pull_request_target: +jobs: + pr-auto-review: + name: PR Auto Review + runs-on: ubuntu-latest + steps: + - name: Automatically assign reviewers + if: github.event.action == 'opened' + uses: kentaro-m/auto-assign-action@v1.2.1 \ No newline at end of file