Skip to content
TypeScript

perf(ci): skip PR vouch jobs for ordinary comments (#23387)

Victor Vogel099794817a95
diff --git a/.github/workflows/pr-vouch.yml b/.github/workflows/pr-vouch.yml
index c4abb08b727..75e2ee8a565 100644
--- a/.github/workflows/pr-vouch.yml
+++ b/.github/workflows/pr-vouch.yml
@@ -20,6 +20,10 @@ permissions:
jobs:
collect-targets:
name: Collect PR targets
+ # Most comments are not recheck commands; skip them before a runner starts.
+ if: >-
+ github.event_name != 'issue_comment' ||
+ (github.event.issue.pull_request && contains(github.event.comment.body, '/recheck-vouch'))
runs-on: ubuntu-24.04
outputs:
targets: ${{ steps.collect.outputs.targets }}