From 6104cbaaad78221146a05e7dbbbd9b9c79812143 Mon Sep 17 00:00:00 2001 From: Eric T Date: Wed, 20 Aug 2025 19:02:12 +0100 Subject: [PATCH] chore: request copilot reviews --- .github/workflows/assign-copilot-review.yml | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/assign-copilot-review.yml diff --git a/.github/workflows/assign-copilot-review.yml b/.github/workflows/assign-copilot-review.yml new file mode 100644 index 0000000..ae92afb --- /dev/null +++ b/.github/workflows/assign-copilot-review.yml @@ -0,0 +1,23 @@ +name: Assign Copilot Review + +on: + pull_request_target: + branches: + - main + +permissions: + pull-requests: write + +jobs: + request-copilot-review: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v7 + with: + script: | + await github.rest.pulls.requestReviewers({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.payload.pull_request.number, + reviewers: ['github-copilot'] + })