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 semgrep rule-test checkout (#127045)

posthog[bot]a79cb04bd10a
diff --git a/.github/workflows/ci-security.yaml b/.github/workflows/ci-security.yaml
index 62f0568e5b84..eda5d1ae68cc 100644
--- a/.github/workflows/ci-security.yaml
+++ b/.github/workflows/ci-security.yaml
@@ -579,6 +579,12 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
+ sparse-checkout: |
+ .semgrep/
+ .github/workflows/
+ .gitignore
+ .gitattributes
+ sparse-checkout-cone-mode: false
- name: Test custom Semgrep rules
run: |