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): narrow the trunk lane comment checkout (#126682)

posthog[bot]dc3a607e92c6
diff --git a/.github/workflows/trunk-impacted-targets.yml b/.github/workflows/trunk-impacted-targets.yml
index dd41fe8aca74..04e244d1d6da 100644
--- a/.github/workflows/trunk-impacted-targets.yml
+++ b/.github/workflows/trunk-impacted-targets.yml
@@ -460,6 +460,11 @@ jobs:
with:
# Run only trusted base-branch code with the token that can edit PR comments.
ref: ${{ github.event.pull_request.base.sha }}
+ sparse-checkout: |
+ .github/scripts/post-trunk-lane-section.mjs
+ frontend/bin/ci-report/update-ci-report.mjs
+ .nvmrc
+ sparse-checkout-cone-mode: false
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with: