-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adjust auto-assign behavior (#450)
- Loading branch information
1 parent
6d115e5
commit 603c569
Showing
2 changed files
with
47 additions
and
7 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
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,31 @@ | ||
name: Assign Reviewers Based on Author | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
assign_reviewers: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Assign reviewers for Renovate bot | ||
if: github.actor == 'renovate[bot]' | ||
uses: kentaro-m/auto-assign-action@v2.0.0 | ||
with: | ||
config: ".github/auto_assign.yml" | ||
reviewGroup: "dependencyUpdates" | ||
addReviewers: true | ||
addAssignees: false | ||
|
||
- name: Assign default reviewers | ||
if: github.actor != 'renovate[bot]' | ||
uses: kentaro-m/auto-assign-action@v2.0.0 | ||
with: | ||
config: ".github/auto_assign.yml" | ||
reviewGroup: "default" | ||
addReviewers: true | ||
addAssignees: false |