From 1ba848e5f5cac95c8f0e5b11b997744cc6974850 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 28 Feb 2023 17:08:20 +0900 Subject: [PATCH] dev: introduce Reviewer lottery --- .github/reviewer-lottery.yml | 10 ++++++++++ .github/workflows/reviewer_lottery.yml | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .github/reviewer-lottery.yml create mode 100644 .github/workflows/reviewer_lottery.yml diff --git a/.github/reviewer-lottery.yml b/.github/reviewer-lottery.yml new file mode 100644 index 000000000..fd2fb1913 --- /dev/null +++ b/.github/reviewer-lottery.yml @@ -0,0 +1,10 @@ +groups: + - name: devs + reviewers: 2 + internal_reviewers: 1 + usernames: + - syuilo + - acid-chicken + - EbiseLutica + - rinsuki + - tamaina diff --git a/.github/workflows/reviewer_lottery.yml b/.github/workflows/reviewer_lottery.yml new file mode 100644 index 000000000..33228d746 --- /dev/null +++ b/.github/workflows/reviewer_lottery.yml @@ -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 }}