From 697ccb5d268beead27ab25155a44823cc9a70da4 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich <christoph.froehlich@ait.ac.at> Date: Sat, 17 Feb 2024 13:31:53 +0000 Subject: [PATCH] Add reusable reviewer lottery action --- .../workflows/reusable-reviewer-lottery.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/reusable-reviewer-lottery.yml diff --git a/.github/workflows/reusable-reviewer-lottery.yml b/.github/workflows/reusable-reviewer-lottery.yml new file mode 100644 index 0000000..0e59d56 --- /dev/null +++ b/.github/workflows/reusable-reviewer-lottery.yml @@ -0,0 +1,19 @@ +name: Reviewer lottery +# Reusable action to simplify reviewer lottery for ROS 2 control repositories +# author: Christoph Froehlich <christoph.froehlich@ait.ac.at> + +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