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 checkout for proto validation (#126744)

posthog[bot]4123cbb0f70f
diff --git a/.github/workflows/ci-proto.yml b/.github/workflows/ci-proto.yml
index d940ab9dd8fd..5da4770ef740 100644
--- a/.github/workflows/ci-proto.yml
+++ b/.github/workflows/ci-proto.yml
@@ -63,6 +63,8 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
clean: false
+ sparse-checkout: proto
+ sparse-checkout-cone-mode: false
- name: Install buf
uses: bufbuild/buf-action@fd21066df7214747548607aaa45548ba2b9bc1ff # v1.4.0
@@ -84,6 +86,8 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
clean: false
+ sparse-checkout: proto
+ sparse-checkout-cone-mode: false
- name: Install buf
uses: bufbuild/buf-action@fd21066df7214747548607aaa45548ba2b9bc1ff # v1.4.0