Commit 5c97194
Fix benchmark PR detection for cross-fork workflow_run events
workflow_run events for cross-fork PRs don't populate pull_requests[]
and may report the base branch SHA instead of the PR head SHA, causing
the SHA-based PR lookup to fail. Add a fallback that searches by
branch name so benchmarks auto-trigger for fork PRs.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f7d0164 commit 5c97194
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
| |||
0 commit comments