-
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.
Reviewer lottery for dependabot PRs (#44)
- Loading branch information
1 parent
7e54b77
commit ea8311e
Showing
2 changed files
with
35 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,15 @@ | ||
# The auto-assign bot will randomly select a reviewer from this list of usernames. | ||
groups: | ||
- name: dependabot-reviewers | ||
reviewers: 1 | ||
usernames: | ||
- robotrapta | ||
- tyler-romero | ||
- sunildkumar | ||
- tomfaulhaber | ||
- roxanne-o | ||
- timmarkhuff | ||
- brandon-groundlight | ||
- f-wright | ||
- CoreyEWood | ||
- honeytung |
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,20 @@ | ||
# Auto assign random reviewers to Dependabot PRs | ||
name: auto-assign | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, ready_for_review, reopened] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
assign-pr-reviewer: | ||
# Only run this on Dependabot PRs | ||
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
name: checkout code | ||
- uses: uesteibar/reviewer-lottery@v3 | ||
name: randomly assign reviewer | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |