生产部署门禁
io.github.PostHog/posthog/gating-production-deploys
在新增或编辑会向镜像仓库推送容器镜像(经 build-push-action 推 ECR/ghcr/Docker Hub)或触发生产部署(向 PostHog/charts 发起 `commit_state_update` repository_dispatch)的 GitHub Actions 工作流时使用。这类工作流从单一权威部署仓库运行,并由 CD_DEPLOY_ENABLED 变量把关。不适用于发布 GitHub Release、npm、crate 或 Homebrew 的工作流——那些留在公开仓库。