Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(ci): fetch sandbox skills history without file contents (#106652)

Alessandro Pogliaghi363fb441a18c
diff --git a/.github/workflows/cd-sandbox-base-image.yml b/.github/workflows/cd-sandbox-base-image.yml
index 588d0165ad4b..d307a0ac3fd9 100644
--- a/.github/workflows/cd-sandbox-base-image.yml
+++ b/.github/workflows/cd-sandbox-base-image.yml
@@ -96,10 +96,10 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- with:
- # Deep enough to reach the PR's merge base, which keys the schema cache below.
- fetch-depth: 1000
- filter: blob:none
+
+ - name: Fetch history without file contents
+ if: github.event_name == 'pull_request'
+ run: git fetch --no-tags --filter=blob:none --depth=1000 origin "$GITHUB_SHA"
- name: Fetch base branch for merge-base computation
if: github.event_name == 'pull_request'