Skip to content

Commit

Permalink
Add automated review action
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay committed Aug 2, 2024
1 parent 73b83c2 commit a1e41ee
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/reviewer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Automated review
on: # yamllint disable-line rule:truthy
pull_request:
types:
- opened
- reopened
- review_requested

permissions:
pull-requests: write

jobs:
automated_review:
name: Generate automated review
runs-on: ubuntu-latest
if: ${{ github.event.action != 'review_requested' || github.event.requested_reviewer.login == 'github-actions[bot]' }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ros-infrastructure/rosdistro-reviewer@main
with:
token: ${{ github.token }}

0 comments on commit a1e41ee

Please sign in to comment.