mirror of
https://github.com/renovatebot/github-action.git
synced 2026-02-04 19:08:08 +00:00
ci: add auto reviewer (#990)
This commit is contained in:
parent
416d47fe42
commit
5aaf05075d
1 changed files with 18 additions and 0 deletions
18
.github/workflows/pr-auto.yml
vendored
Normal file
18
.github/workflows/pr-auto.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue