Skip to content

Commit

Permalink
Add shadow reviewer when PR's review is requested (#2505)
Browse files Browse the repository at this point in the history
ready_for_review triggers the GitHub action only when a PR is moved from draft PR to "Ready to Review" stage.
So, shadow-reviewers don't get added when a PR is directly created without going through
the draft stage. Use review_requested to add shadow reviewer when a review is requested.
  • Loading branch information
kislaykishore authored Sep 18, 2024
1 parent 9a06ec8 commit 9bc632d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/shadow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "Shadow reviews"
on:
pull_request:
types:
- ready_for_review
- review_requested
branches:
- master

Expand Down

0 comments on commit 9bc632d

Please sign in to comment.