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 }}