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:
Aaron Gable 2024-07-26 09:36:06 -07:00 committed by GitHub
parent cf8e5aa1b1
commit 17f1ee744f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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'