Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

ci(harness-check): pass the token header to the pin checkout too; the blob:none clone fetches the pin's blobs there and failed without it

garrytand1ec4eeb7d03
diff --git a/.github/workflows/harness-check.yml b/.github/workflows/harness-check.yml
index ab3fdd6b77..485401e2d7 100644
--- a/.github/workflows/harness-check.yml
+++ b/.github/workflows/harness-check.yml
@@ -78,9 +78,9 @@ jobs:
PIN: ${{ env.HARNESS_EVALS_PIN }}
run: |
set -euo pipefail
- git -c "http.https://github.com/.extraheader=AUTHORIZATION: basic $(printf 'x-access-token:%s' "$TOKEN" | base64 -w0)" \
- clone -q --filter=blob:none https://github.com/garrytan/harness-evals "$RUNNER_TEMP/harness-evals"
- git -C "$RUNNER_TEMP/harness-evals" checkout -q --detach "$PIN"
+ auth="http.https://github.com/.extraheader=AUTHORIZATION: basic $(printf 'x-access-token:%s' "$TOKEN" | base64 -w0)"
+ git -c "$auth" clone -q --filter=blob:none https://github.com/garrytan/harness-evals "$RUNNER_TEMP/harness-evals"
+ git -c "$auth" -C "$RUNNER_TEMP/harness-evals" checkout -q --detach "$PIN"
echo "harness-evals at $(git -C "$RUNNER_TEMP/harness-evals" rev-parse HEAD) (VERSION $(cat "$RUNNER_TEMP/harness-evals/VERSION"))"
- if: steps.gate.outputs.run == 'true'
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2