-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add reusable reviewer lottery action
- Loading branch information
1 parent
93675b3
commit 697ccb5
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Reviewer lottery | ||
# Reusable action to simplify reviewer lottery for ROS 2 control repositories | ||
# author: Christoph Froehlich <[email protected]> | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
assign_reviewers: | ||
runs-on: ubuntu-latest | ||
if: github.actor != 'dependabot[bot]' && github.actor != 'mergify[bot]' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | ||
wget https://raw.githubusercontent.com/ros-controls/ros2_control_ci/master/.github/reviewer-lottery.yml -O .github/reviewer-lottery.yml | ||
- uses: uesteibar/reviewer-lottery@v3 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
config: .github/reviewer-lottery.yml |