Skip to content

Commit

Permalink
Use reusable-reviewer-lottery from ros2_control_ci (#1402)
Browse files Browse the repository at this point in the history
(cherry picked from commit c4affe4)
  • Loading branch information
christophfroehlich authored and mergify[bot] committed Feb 19, 2024
1 parent 1ae58e7 commit 3b0fad1
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 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:
assign_reviewers:
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
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-reviewer-lottery.yml@master

0 comments on commit 3b0fad1

Please sign in to comment.