From 12e48712f9e523aead9db982962caecf274b5b23 Mon Sep 17 00:00:00 2001 From: Marc LeBlanc <7050295+marcleblanc2@users.noreply.github.com> Date: Tue, 22 Sep 2026 20:45:22 -0600 Subject: [PATCH] chore/ci: bump actions/checkout from v1 to v7.0.1 The pinned SHA was actions/checkout v1 (Nov 2019), which defaults to an unlimited fetch depth and fetches refs/heads/* instead of the commit under test. A force-push seconds after the first push left the fetched refs without the original commit, and checkout failed with "fatal: unable to read tree". v7.0.1 defaults to fetch-depth 1 and fetches the exact commit SHA, so the SCIP job clones shallow and survives a force-push race. Amp-Thread-ID: https://ampcode.com/threads/T-01a0cc21-4b1a-74dd-aa9f-8d1abc501c9a Co-authored-by: Amp --- .github/workflows/scip.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scip.yml b/.github/workflows/scip.yml index 17abe857..acc31ed0 100644 --- a/.github/workflows/scip.yml +++ b/.github/workflows/scip.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest container: sourcegraph/scip-go steps: - - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Get src-cli run: curl -L https://sourcegraph.com/.api/src-cli/src_linux_amd64 -o /usr/local/bin/src; chmod +x /usr/local/bin/src