From 5aaf05075dbb328cdfe10e0d2f205fdaf6fc88e2 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Thu, 29 Jan 2026 16:21:53 +0100 Subject: [PATCH] ci: add auto reviewer (#990) --- .github/workflows/pr-auto.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/pr-auto.yml diff --git a/.github/workflows/pr-auto.yml b/.github/workflows/pr-auto.yml new file mode 100644 index 00000000..2c126928 --- /dev/null +++ b/.github/workflows/pr-auto.yml @@ -0,0 +1,18 @@ +name: auto-pr + +on: + pull_request_target: + types: + - opened + +jobs: + review: + if: github.event.action == 'opened' && !endsWith(github.event.pull_request.user.login, '[bot]') + runs-on: ubuntu-24.04 + permissions: + pull-requests: write + steps: + - uses: hkusu/review-assign-action@5bee595fdb9765d4a0bd35724b6302fa15569158 # v1.4.0 + with: + reviewers: ${{ vars.REVIEWERS }} + max-num-of-reviewers: 2