Skip to content

Commit

Permalink
Don't run review based on review requests
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay committed Nov 20, 2024
1 parent b86c2ed commit 40f3645
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/reviewer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ on: # yamllint disable-line rule:truthy
pull_request:
types:
- opened
- ready_for_review
- reopened
- review_requested
- synchronize

permissions:
pull-requests: write
Expand All @@ -14,7 +15,7 @@ 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]' }}
if: ${{ !github.event.pull_request.draft }}
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 40f3645

Please sign in to comment.