ci(docker): resolve short refs before checkout

This commit is contained in:
Peter Steinberger
2026-04-27 07:18:57 +01:00
parent a3fcb8db79
commit 93ac2cefaa
2 changed files with 8 additions and 3 deletions

View File

@@ -64,6 +64,7 @@ describe("test-install-sh-docker", () => {
const workflow = readFileSync(LIVE_E2E_WORKFLOW_PATH, "utf8");
expect(workflow).toContain("git fetch --no-tags origin '+refs/heads/*:refs/remotes/origin/*'");
expect(workflow).toContain('git rev-parse --verify "${INPUT_REF}^{commit}"');
expect(workflow).toContain("repository-branch-history");
expect(workflow).toContain("git tag --points-at \"$selected_sha\" | grep -Eq '^v'");
expect(workflow).toContain("reachable from an OpenClaw branch or release tag");