Skip to content

Commit 4952301

Browse files
christophfroehlichmergify[bot]
authored andcommitted
Use reviewer lottery from ros2_control_ci (#44)
(cherry picked from commit 48cf81d)
1 parent 27e73eb commit 4952301

File tree

2 files changed

+4
-41
lines changed

2 files changed

+4
-41
lines changed

.github/reviewer-lottery.yml

-33
This file was deleted.
+4-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: Reviewer lottery
2+
# pull_request_target takes the same events as pull_request,
3+
# but it runs on the base branch instead of the head branch.
24
on:
35
pull_request_target:
46
types: [opened, ready_for_review, reopened]
57

68
jobs:
7-
test:
8-
runs-on: ubuntu-latest
9-
if: github.actor != 'dependabot[bot]' && github.actor != 'mergify[bot]'
10-
steps:
11-
- uses: actions/checkout@v4
12-
- uses: uesteibar/reviewer-lottery@v3
13-
with:
14-
repo-token: ${{ secrets.GITHUB_TOKEN }}
9+
assign_reviewers:
10+
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-reviewer-lottery.yml@master

0 commit comments

Comments
 (0)