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 node proto generation checkout (#130367)

posthog[bot]82a3952ffa5c
diff --git a/.github/workflows/ci-proto.yml b/.github/workflows/ci-proto.yml
index 87b1729ecf2b..e24ee81441bc 100644
--- a/.github/workflows/ci-proto.yml
+++ b/.github/workflows/ci-proto.yml
@@ -225,6 +225,21 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
clean: false
+ sparse-checkout: |
+ /*
+ !/*/
+ **/package.json
+ /.github/actions/pnpm-install/
+ /.github/actions/setup-pnpm/
+ /bin/
+ /common/
+ /nodejs/
+ /patches/
+ /proto/
+ /rust/common/hogvm/node/
+ /rust/replay-anonymizer-node/
+ /rust/ai-research/replay-core-v4-node/
+ sparse-checkout-cone-mode: false
- name: Install buf
uses: bufbuild/buf-action@fd21066df7214747548607aaa45548ba2b9bc1ff # v1.4.0