dev: introduce Reviewer lottery

This commit is contained in:
syuilo 2023-02-28 17:08:20 +09:00
parent a6ea9de4b9
commit 1ba848e5f5
2 changed files with 23 additions and 0 deletions

10
.github/reviewer-lottery.yml vendored Normal file
View file

@ -0,0 +1,10 @@
groups:
- name: devs
reviewers: 2
internal_reviewers: 1
usernames:
- syuilo
- acid-chicken
- EbiseLutica
- rinsuki
- tamaina

13
.github/workflows/reviewer_lottery.yml vendored Normal file
View file

@ -0,0 +1,13 @@
name: "Reviewer lottery"
on:
pull_request_target:
types: [opened, ready_for_review, reopened]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: uesteibar/reviewer-lottery@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}