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): skip legacy backend gating on docs-only changes (#69172)

Paul D'Ambra42f721354efd
diff --git a/.depot/workflows/ci-backend.yml b/.depot/workflows/ci-backend.yml
index 4a39c73a5289..4ae7001f524e 100644
--- a/.depot/workflows/ci-backend.yml
+++ b/.depot/workflows/ci-backend.yml
@@ -327,6 +327,11 @@ jobs:
- bin/ci-wait-for-docker
- frontend/public/email/*
- 'docker/clickhouse/**'
+ # Same rationale as the backend filter's excludes above: docs-only
+ # changes match the broad globs but exercise no legacy backend code,
+ # so they shouldn't trigger the Django/turbo-discover path either.
+ - '!**/*.md'
+ - '!**/*.mdx'
schema:
# Tracked separately from `legacy` so turbo-discover can
# diff schema.json and narrow the product matrix to
diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml
index af67c456a60b..52ffc54bca04 100644
--- a/.github/workflows/ci-backend.yml
+++ b/.github/workflows/ci-backend.yml
@@ -239,6 +239,11 @@ jobs:
- bin/ci-wait-for-docker
- frontend/public/email/*
- 'docker/clickhouse/**'
+ # Same rationale as the backend filter's excludes above: docs-only
+ # changes match the broad globs but exercise no legacy backend code,
+ # so they shouldn't trigger the Django/turbo-discover path either.
+ - '!**/*.md'
+ - '!**/*.mdx'
schema:
# Tracked separately from `legacy` so turbo-discover can
# diff schema.json and narrow the product matrix to