ci: support pr auto assign (#1004)

This commit is contained in:
Yifeng Wang 2023-02-15 09:18:07 +08:00 committed by GitHub
parent 5f4071652f
commit 6c0db247b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

8
.github/auto_assign.yml vendored Normal file
View File

@ -0,0 +1,8 @@
# This is used for tracking in GitHub project.
# See https://github.com/marketplace/actions/auto-assign-action
# Set to true to add reviewers to pull requests
addReviewers: false
# Set to true to add assignees to pull requests
addAssignees: author

12
.github/workflows/pr-auto-assign.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: Pull request auto assign
# on: pull_request
on:
pull_request:
types: [opened, ready_for_review]
jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.2.4