Skip to content

Commit

Permalink
Use reviewer lottery from ros2_control_ci (ros-controls#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich authored Feb 19, 2024
1 parent f16554c commit 219a121
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/reviewer_lottery.yml
Original file line number Diff line number Diff line change
@@ -1,15 +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 }}
config: ros-controls/ros2_control_ci/.github/reviewer-lottery.yml
assign_reviewers:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-reviewer-lottery.yml@master

0 comments on commit 219a121

Please sign in to comment.