Skip to content

Commit 5aaf050

Browse files
authored
ci: add auto reviewer (#990)
1 parent 416d47f commit 5aaf050

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/pr-auto.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: auto-pr
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
8+
jobs:
9+
review:
10+
if: github.event.action == 'opened' && !endsWith(github.event.pull_request.user.login, '[bot]')
11+
runs-on: ubuntu-24.04
12+
permissions:
13+
pull-requests: write
14+
steps:
15+
- uses: hkusu/review-assign-action@5bee595fdb9765d4a0bd35724b6302fa15569158 # v1.4.0
16+
with:
17+
reviewers: ${{ vars.REVIEWERS }}
18+
max-num-of-reviewers: 2

0 commit comments

Comments
 (0)