-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from carlisia/c-assign-pr
Add auto-assign reviewers GH action
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
addReviewers: true | ||
addAssignees: author | ||
|
||
# Set this to the length of the reviewers list because the default was not including everyone | ||
numberOfReviewers: 3 | ||
|
||
reviewers: | ||
- carlisia | ||
- jenting | ||
- cpanato |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: 'Auto Assign PR Reviewers' | ||
# pull_request_target means that this will run on pull requests, but in the context of the base repo. | ||
# This should mean PRs from forks are supported. | ||
on: | ||
pull_request_target: | ||
types: [opened, reopened, sychronized] | ||
|
||
|
||
jobs: | ||
add-reviews: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: kentaro-m/[email protected] | ||
with: | ||
configuration-path: ".github/auto_assign.yml" | ||
repo-token: '${{ secrets.GITHUB_TOKEN }}' |