Skip to content

Commit

Permalink
Add workflow to add reviewers to PR (#34)
Browse files Browse the repository at this point in the history
* Add workflow to add reviewers to PR

* Enable self assign to PR
  • Loading branch information
kentaro-m authored Sep 15, 2020
1 parent 33184f4 commit e7464d3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Set to true to add reviewers to pull requests
addReviewers: false

# Set to true to add assignees to pull requests
addAssignees: author

# A list of assignees, overrides reviewers if set
assignees:
- kentaro-m

# A number of assignees to add to the pull request
# Set to 0 to add all of the assignees.
# Uses numberOfReviewers if unset.
numberOfAssignees: 0

# A list of keywords to be skipped the process that add reviewers if pull requests include it
skipKeywords:
- wip
8 changes: 8 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: 'Auto Assign'
on: pull_request

jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/[email protected]

0 comments on commit e7464d3

Please sign in to comment.