: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
ci(tasks): gate the golden snapshot bake on CD_DEPLOY_ENABLED (#121152)
Georges-Antoine Assi2052b6d64934
diff --git a/.github/workflows/cd-tasks-golden-snapshot.yml b/.github/workflows/cd-tasks-golden-snapshot.ymlindex d8e9ec2cf9ef..7e0bc84e7d83 100644--- a/.github/workflows/cd-tasks-golden-snapshot.yml+++ b/.github/workflows/cd-tasks-golden-snapshot.yml@@ -140,7 +140,7 @@ jobs:# render; when it skips, the bake job (needs) skips too, keeping the no-op.render_skills:needs: validate_ref- if: vars.HOG_TASKS_GOLDEN_ENABLED == 'true' && github.ref == 'refs/heads/master'+ if: vars.CD_DEPLOY_ENABLED == 'true' && vars.HOG_TASKS_GOLDEN_ENABLED == 'true' && github.ref == 'refs/heads/master'name: Render agent skills from sourceruns-on: ubuntu-24.04# `Run migrations` needs a database: 24 skill templates call@@ -376,7 +376,7 @@ jobs:# (unarmed), this skips too. `needs: validate_ref` to check out its# validated ref, never the raw workflow_dispatch input.needs: [validate_ref, render_skills]- if: vars.HOG_TASKS_GOLDEN_ENABLED == 'true' && github.ref == 'refs/heads/master'+ if: vars.CD_DEPLOY_ENABLED == 'true' && vars.HOG_TASKS_GOLDEN_ENABLED == 'true' && github.ref == 'refs/heads/master'name: Bake and promote the tasks golden snapshotruns-on: depot-ubuntu-24.04timeout-minutes: 240 # worst case: 30m quiet-window guard + 30m cold create + ~90m setup + snapshot push + 30m smoke cold restore + buffer