Skip to content

Commit e7464d3

Browse files
authored
Add workflow to add reviewers to PR (#34)
* Add workflow to add reviewers to PR * Enable self assign to PR
1 parent 33184f4 commit e7464d3

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-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: false
3+
4+
# Set to true to add assignees to pull requests
5+
addAssignees: author
6+
7+
# A list of assignees, overrides reviewers if set
8+
assignees:
9+
- kentaro-m
10+
11+
# A number of assignees to add to the pull request
12+
# Set to 0 to add all of the assignees.
13+
# Uses numberOfReviewers if unset.
14+
numberOfAssignees: 0
15+
16+
# A list of keywords to be skipped the process that add reviewers if pull requests include it
17+
skipKeywords:
18+
- wip

.github/workflows/pull-request.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: 'Auto Assign'
2+
on: pull_request
3+
4+
jobs:
5+
add-reviews:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: kentaro-m/auto-assign-action@v1.1.2

0 commit comments

Comments
 (0)