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): allow pausing the private-sync mirror via PRIVATE_SYNC_PAUSED (#63277)

Georges-Antoine Assi84b97a9d4f06
diff --git a/.github/workflows/private-sync.yml b/.github/workflows/private-sync.yml
index cab160db40d4..55cdda67b6f3 100644
--- a/.github/workflows/private-sync.yml
+++ b/.github/workflows/private-sync.yml
@@ -12,7 +12,9 @@ concurrency:
jobs:
repo-sync:
name: Sync posthog-private with posthog
- if: github.repository == 'PostHog/posthog'
+ # Set the `PRIVATE_SYNC_PAUSED` repo variable to `true` to pause the mirror
+ # (e.g. during a coordinated change that must land on private first).
+ if: github.repository == 'PostHog/posthog' && vars.PRIVATE_SYNC_PAUSED != 'true'
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions: