You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
Fix the `PR Benchmark Report` workflow for forked PR benchmark runs like
#2252, where `workflow_run.pull_requests` and `commits/{sha}/pulls` can
both be empty for the upstream repository.
## Changes
- Resolve the PR number from the uploaded benchmark artifact names
first.
- Fall back to the workflow run head repository owner and branch via
`repos/{owner}/{repo}/pulls`.
- Keep the existing commit-SHA lookup as a final fallback.
- Remove the artifact ZIP download `Accept: application/octet-stream`
header because `gh api` rejected it during local replay.
## Validation
- Replayed the resolution logic against benchmark run `28928458470` and
confirmed it resolves PR #2252 and downloads artifact `8164318312`.
- Ran `mise run lint:fix`.
- Ran `git diff --check`.
0 commit comments