Skip to content

Commit

Permalink
Add reusable reviewer lottery action
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Feb 17, 2024
1 parent 93675b3 commit 697ccb5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/reusable-reviewer-lottery.yml
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

0 comments on commit 697ccb5

Please sign in to comment.