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 mcp ui apps build checkout (#126902)

posthog[bot]b47db88c7ec5
diff --git a/.github/workflows/ci-mcp-ui-apps.yml b/.github/workflows/ci-mcp-ui-apps.yml
index 8f553a292c80..e94b403a832d 100644
--- a/.github/workflows/ci-mcp-ui-apps.yml
+++ b/.github/workflows/ci-mcp-ui-apps.yml
@@ -69,6 +69,27 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ sparse-checkout: |
+ /*
+ !/*/
+ **/package.json
+ /.github/actions/
+ /.husky/
+ /bin/fix-rdkafka-paths
+ /common/mosaic/
+ /frontend/bin/ci-report/
+ /frontend/src/generated/
+ /frontend/src/types.ts
+ /packages/llm-normalizer/
+ /packages/quill/
+ /patches/
+ /products/*/mcp/
+ /products/*/frontend/generated/
+ /products/product_analytics/frontend/insights/
+ /services/mcp/
+ /tools/openapi-codegen/
+ sparse-checkout-cone-mode: false
- name: Install uv # Needed for formatting generated code and running scripts
uses: ./.github/actions/setup-uv