From 6e1e9766a504cdc9198f4ccd84cbd2e4453f7822 Mon Sep 17 00:00:00 2001 From: Savio Dsouza Date: Thu, 2 Apr 2026 11:23:04 +0530 Subject: [PATCH] ci: use immutable sha for checkout Change to immutable SHA for checkout reference. --- .github/workflows/benchmark-compare.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark-compare.yml b/.github/workflows/benchmark-compare.yml index b5c800754ca..a320722b01a 100644 --- a/.github/workflows/benchmark-compare.yml +++ b/.github/workflows/benchmark-compare.yml @@ -34,7 +34,7 @@ jobs: repository: ${{steps.comment-branch.outputs.head_owner}}/${{steps.comment-branch.outputs.head_repo}} # Checkout the pull request and assume it being trusted given we've checked # that the action was triggered by a team member. - ref: ${{steps.comment-branch.outputs.head_ref}} + ref: ${{steps.comment-branch.outputs.head_sha}} - run: pnpm install --frozen-lockfile