Skip to content

Pin manual benchmark runs to PR commits - #26010

Open
imattas wants to merge 1 commit into
php:masterfrom
imattas:codex/benchmark-pin-pr-commit
Open

imattas wants to merge 1 commit into
php:masterfrom
imattas:codex/benchmark-pin-pr-commit

Conversation

@imattas

@imattas imattas commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Resolve manual benchmark PR metadata to verified commit SHAs before later steps use it.
  • Keep benchmarking the same PR head while preventing attacker-controlled branch names from entering generated shell and benchmark config.
  • Validate repository and SHA values before writing them to GITHUB_ENV.

Validation

  • Reviewed the workflow changes and the benchmark suite's checkout behavior.
  • git diff --check passed. Tests were not run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant