From 71723d89f1a5696f3971e8a83bc906c67647bd4e Mon Sep 17 00:00:00 2001 From: ykiko Date: Thu, 23 Apr 2026 19:11:23 +0800 Subject: [PATCH] ci: checkout latest branch code when validating from artifact When rerunning failed validate jobs after pushing fixes, the checkout now fetches the branch HEAD instead of the original trigger commit. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/test-cmake.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test-cmake.yml b/.github/workflows/test-cmake.yml index a8122322..0d6cc94f 100644 --- a/.github/workflows/test-cmake.yml +++ b/.github/workflows/test-cmake.yml @@ -53,6 +53,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + ref: ${{ inputs.llvm_from_artifact && github.ref_name || '' }} - uses: ./.github/actions/setup-pixi with: