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 oauth proxy checks checkout (#126900)

posthog[bot]e36e04eadbc7
diff --git a/.github/workflows/ci-oauth-proxy.yml b/.github/workflows/ci-oauth-proxy.yml
index ed663e355127..7cf5974a16fe 100644
--- a/.github/workflows/ci-oauth-proxy.yml
+++ b/.github/workflows/ci-oauth-proxy.yml
@@ -53,6 +53,18 @@ jobs:
steps:
- name: Checkout code
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/oauth-proxy/
+ sparse-checkout-cone-mode: false
- name: Install pnpm dependencies
uses: ./.github/actions/pnpm-install