From d8d727f8fb049ce2212853bda0731cd824bcf83b Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Wed, 17 Apr 2024 19:14:02 +0000 Subject: [PATCH] [NOMERGE] Test an auto-request-review github action --- .github/auto_request_review.yml | 7 +++++++ .github/workflows/auto-review.yml | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .github/auto_request_review.yml create mode 100644 .github/workflows/auto-review.yml diff --git a/.github/auto_request_review.yml b/.github/auto_request_review.yml new file mode 100644 index 00000000000000..70d7a38fc20876 --- /dev/null +++ b/.github/auto_request_review.yml @@ -0,0 +1,7 @@ +reviewers: + defaults: + - emaste + +files: + '**': + - emaste diff --git a/.github/workflows/auto-review.yml b/.github/workflows/auto-review.yml new file mode 100644 index 00000000000000..70ad13b330bb79 --- /dev/null +++ b/.github/workflows/auto-review.yml @@ -0,0 +1,16 @@ +# Add reviewers based on .github/auto_request_review.yml +name: Auto Request Review + +on: + pull_request: + branches: [ main ] + +jobs: + auto-request-review: + name: Auto Request Review + runs-on: ubuntu-latest + steps: + - name: Request review based on files changes and/or groups the author belongs to + uses: necojackarc/auto-request-review@v0.13.0 + with: + token: ${{ secrets.GITHUB_TOKEN }}