From f83c4376a153244d7a7a21f164250b8067b24c86 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Wed, 20 Nov 2024 13:37:21 -0600 Subject: [PATCH] Add automated review action (#42309) --- .github/workflows/reviewer.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/reviewer.yaml diff --git a/.github/workflows/reviewer.yaml b/.github/workflows/reviewer.yaml new file mode 100644 index 0000000000000..084df64f65b0f --- /dev/null +++ b/.github/workflows/reviewer.yaml @@ -0,0 +1,25 @@ +--- +name: Automated review +on: # yamllint disable-line rule:truthy + pull_request: + types: + - opened + - ready_for_review + - reopened + - synchronize + +permissions: + pull-requests: write + +jobs: + automated_review: + name: Generate automated review + runs-on: ubuntu-latest + if: ${{ !github.event.pull_request.draft }} + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: ros-infrastructure/rosdistro-reviewer@main + with: + token: ${{ github.token }}