Only run issue-for-sre-handoff when review requested (#7634)
Running this workflow on both `ready_for_review` and `review_requested` was causing duplicate comments to show up when PRs were moved out of draft mode. This is because moving out of draft mode would both trigger a workflow run and automatically request review, which in turn would trigger a second workflow run, and the two runs were triggered in such quick succession that our commentMarker detection wouldn't work.
This commit is contained in:
parent
cf8e5aa1b1
commit
17f1ee744f
|
@ -2,7 +2,7 @@ name: Check PR for configuration and SQL changes
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
types: [ready_for_review, review_requested]
|
||||
types: [review_requested]
|
||||
paths:
|
||||
- 'test/config-next/*.json'
|
||||
- 'test/config-next/*.yaml'
|
||||
|
|
Loading…
Reference in New Issue