diff --git a/.github/reviewer-lottery.yml b/.github/reviewer-lottery.yml deleted file mode 100644 index c56b762..0000000 --- a/.github/reviewer-lottery.yml +++ /dev/null @@ -1,41 +0,0 @@ -groups: - # Default reviewers for all pull requests. - # Usually, at least on of the maintainers should approve PR before merging. - # The best is if two maintainers do that. - - name: maintainers # name of the group - reviewers: 2 # how many reviewers do you want to assign? - internal_reviewers: 1 # how many reviewers do you want to assign when the PR author belongs to this group? - usernames: # github usernames of the reviewers - - bmagyar - - destogl - - # Reviewers group to get broader feedback. - - name: reviewers - reviewers: 10 - usernames: - - rosterloh - - kellyprankin - - progtologist - - arne48 - - DasRoteSkelett - - a10263790 - - Serafadam - - harderthan - - jaron-l - - malapatiravi - - erickisos - - ShawnSchaerer - - Briancbn - - TomoyaFujita2016 - - homalozoa - - anfemosa - - jackcenter - - VX792 - - mhubii - - livanov93 - - aprotyas - - peterdavidfagan - - UsamaHamayun1 - - duringhof - - bijoua29 - - kasiceo diff --git a/.github/workflows/reviewer-lottery.yml b/.github/workflows/reviewer-lottery.yml deleted file mode 100644 index f7ae929..0000000 --- a/.github/workflows/reviewer-lottery.yml +++ /dev/null @@ -1,13 +0,0 @@ -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 }} diff --git a/.github/workflows/reviewer_lottery.yml b/.github/workflows/reviewer_lottery.yml new file mode 100644 index 0000000..0584f4a --- /dev/null +++ b/.github/workflows/reviewer_lottery.yml @@ -0,0 +1,10 @@ +name: Reviewer lottery +# pull_request_target takes the same events as pull_request, +# but it runs on the base branch instead of the head branch. +on: + pull_request_target: + types: [opened, ready_for_review, reopened] + +jobs: + assign_reviewers: + uses: ros-controls/ros2_control_ci/.github/workflows/reusable-reviewer-lottery.yml@master