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 api cli release bundle checkout (#126891)

posthog[bot]3ef3eb9369c4
diff --git a/.github/workflows/ci-cli.yml b/.github/workflows/ci-cli.yml
index 1a31cc46813b..742fc40d2cd6 100644
--- a/.github/workflows/ci-cli.yml
+++ b/.github/workflows/ci-cli.yml
@@ -114,6 +114,25 @@ jobs:
if: ${{ !startsWith(github.head_ref, 'trunk-merge/') }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ sparse-checkout: |
+ /*
+ !/*/
+ **/package.json
+ /.github/actions/pnpm-install/
+ /.github/actions/setup-pnpm/
+ /.husky/
+ /bin/fix-rdkafka-paths
+ /patches/
+ /services/mcp/
+ /packages/llm-normalizer/
+ /packages/quill/packages/
+ /tools/openapi-codegen/
+ /products/posthog_ai/skills/querying-posthog-data/references/guidelines.md
+ /products/ai_observability/backend/prompts/parser_recipe_examples.yaml
+ /products/notebooks/
+ /products/product_analytics/mcp/apps/explainChart/
+ sparse-checkout-cone-mode: false
- name: Install pnpm dependencies
uses: ./.github/actions/pnpm-install