Skip to content

Commit

Permalink
Use reviewer lottery from ros2_control_ci (#44)
Browse files Browse the repository at this point in the history
(cherry picked from commit 48cf81d)
  • Loading branch information
christophfroehlich authored and mergify[bot] committed Feb 19, 2024
1 parent 27e73eb commit 4952301
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 41 deletions.
33 changes: 0 additions & 33 deletions .github/reviewer-lottery.yml

This file was deleted.

12 changes: 4 additions & 8 deletions .github/workflows/reviewer_lottery.yml
Original file line number Diff line number Diff line change
@@ -1,14 +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:
test:
runs-on: ubuntu-latest
if: github.actor != 'dependabot[bot]' && github.actor != 'mergify[bot]'
steps:
- uses: actions/checkout@v4
- uses: uesteibar/reviewer-lottery@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assign_reviewers:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-reviewer-lottery.yml@master

0 comments on commit 4952301

Please sign in to comment.