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 toolbar extension build checkout (#127587)

posthog[bot]d14dd494b116
diff --git a/.github/workflows/ci-toolbar-extension.yml b/.github/workflows/ci-toolbar-extension.yml
index ae08dc19b115..482ef430fdc4 100644
--- a/.github/workflows/ci-toolbar-extension.yml
+++ b/.github/workflows/ci-toolbar-extension.yml
@@ -26,6 +26,25 @@ jobs:
timeout-minutes: 20
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ sparse-checkout: |
+ /*
+ !/*/
+ /frontend/
+ /products/
+ !/products/*/backend/
+ !/products/desktop/
+ !/products/mobile/
+ /common/
+ /packages/
+ /bin/
+ /patches/
+ /.github/actions/
+ /.husky/
+ /docs/onboarding/
+ /services/mcp/src/ui-apps/lib/
+ **/package.json
+ sparse-checkout-cone-mode: false
- name: Install pnpm dependencies
uses: ./.github/actions/pnpm-install