-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add workflow to auto assign and add reviewers in the PRs
- Loading branch information
Showing
2 changed files
with
28 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,13 @@ | ||
# Set to true to add reviewers to pull requests. | ||
addReviewers: true | ||
|
||
# A number of reviewers added to the pull request | ||
# Set 0 to add all the reviewers (default: 0) | ||
numberOfReviewers: 0 | ||
|
||
# A list of reviewers to be added to pull requests (GitHub user name). | ||
reviewers: | ||
- sumanashrestha | ||
|
||
# Set addAssignees to 'author' to set the PR creator as the assignee. | ||
addAssignees: author |
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,15 @@ | ||
# This workflow will add reviewers and assignee | ||
# on opened and ready_to_review pull requests. | ||
# | ||
# This workflow uses .github/auto_assign.yml file as configuration. | ||
|
||
name: Auto assign reviewers | ||
on: | ||
pull_request: | ||
types: [opened, ready_for_review, reopened] | ||
|
||
jobs: | ||
add-reviews: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: kentaro-m/[email protected] |