Skip to content

fix(security): Update checkout reference to use immutable SHA#67987

Open
S3DFX-CYBER wants to merge 1 commit intoangular:mainfrom
S3DFX-CYBER:main
Open

fix(security): Update checkout reference to use immutable SHA#67987
S3DFX-CYBER wants to merge 1 commit intoangular:mainfrom
S3DFX-CYBER:main

Conversation

@S3DFX-CYBER
Copy link
Copy Markdown

PR Type

  • CI related changes

What is the current behavior?

The workflow checks out the pull request using a mutable branch reference (head_ref). This can lead to non-deterministic behavior if the branch is updated between the triggering event and the checkout step.

What is the new behavior?

The workflow now uses the immutable commit SHA (head_sha) for checkout, ensuring that the exact commit at the time of resolution is used.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

This change improves reproducibility and consistency of benchmark runs by ensuring deterministic code checkout.

Changed to use immutable SHA for checkout reference.
@pullapprove pullapprove bot requested a review from josephperrott April 2, 2026 05:56
Copy link
Copy Markdown
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@S3DFX-CYBER S3DFX-CYBER changed the title Update checkout reference to use immutable SHA fix(security): Update checkout reference to use immutable SHA Apr 6, 2026
@S3DFX-CYBER S3DFX-CYBER marked this pull request as draft April 6, 2026 08:39
@S3DFX-CYBER S3DFX-CYBER marked this pull request as ready for review April 6, 2026 08:39
@S3DFX-CYBER
Copy link
Copy Markdown
Author

@atscott feel free to review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants