Skip to content

Commit

Permalink
Make review-trigger work as intended (#369)
Browse files Browse the repository at this point in the history
- [x] Does not require a CHANGELOG entry
  • Loading branch information
bkchr authored Jul 2, 2024
1 parent 177cb25 commit e28c8e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/review-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- review_request_removed
- ready_for_review
pull_request_review:
pull_request:
workflow_dispatch:

jobs:
trigger-review-bot:
Expand All @@ -36,7 +38,7 @@ jobs:
github.event_name == 'pull_request_target' &&
github.event.action == 'synchronize' &&
github.event.sender.login == github.event.pull_request.user.login &&
contains(steps.fellows.outputs.github-handles, github.event.pull_request.user.login)
!contains(steps.fellows.outputs.github-handles, github.event.pull_request.user.login)
run: |
# We get the list of reviewers who approved the PR
REVIEWERS=$(gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews \
Expand Down

0 comments on commit e28c8e8

Please sign in to comment.