Skip to content

Commit d9cfba7

Browse files
authored
chore: add auto-assign workflows for pr assign (#3998)
Signed-off-by: Gaius <gaius.qi@gmail.com>
1 parent 62c03a7 commit d9cfba7

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/auto_assign.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Set to true to add reviewers to pull requests
2+
addReviewers: true
3+
4+
# Set to true to add assignees to pull requests
5+
addAssignees: author
6+
7+
# A list of reviewers to be added to pull requests (GitHub user name)
8+
reviewers:
9+
- gaius-qi
10+
- yxxhero
11+
- chlins
12+
- CormickKneey
13+
- jim3ma
14+
- hyy0322
15+
- xujihui1985
16+
17+
# A number of reviewers added to the pull request
18+
numberOfReviewers: 3

.github/workflows/auto-assign.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: "Auto Assign"
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, reopened, ready_for_review]
6+
7+
jobs:
8+
add-assignee:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: kentaro-m/auto-assign-action@248761c4feb3917c1b0444e33fad1a50093b9847

0 commit comments

Comments
 (0)