ci: add auto reviewer (#990)

This commit is contained in:
Michael Kriese 2026-01-29 16:21:53 +01:00 committed by GitHub
parent 416d47fe42
commit 5aaf05075d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

18
.github/workflows/pr-auto.yml vendored Normal file
View file

@ -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