All skills
gating-production-deploys
Add the CD_DEPLOY_ENABLED gate to GitHub Actions steps that push production images or dispatch Charts deploys.
- Part of PostHog/posthog
- 141 installs
- Developer Tools · Build and packaging
When to use it
You are editing a workflow that builds a container image on master and need to stop it publishing from the wrong repo.
For example
You say
Use gating-production-deploys to add the deploy gate to a new workflow that pushes a worker image to ECR on master pushes.
You get
- Gated push step
- Gated deploy job condition
How it works
- Gate only the master arm of a build job that also serves pull requests, so contributor CI keeps working.
- Release workflows for GitHub releases, npm, crates, and Homebrew stay ungated on the public repo.
Before installing
The CD_DEPLOY_ENABLED repository variable must be set on the repo that should ship before merging, or master pushes skip the build and deploy.
More Build and packaging skills
See all- release2.2kChecks the changelog, installs git hooks and cuts a new project release.
- prepare-release65Collects commits, writes bilingual release notes, bumps versions, and creates a release branch.
- gh-stack12Plans, creates, rebases, syncs, and recovers stacks of dependent branches and pull requests.
- release6Cuts a FastMCP release end to end, from notes and changelog PR to tagging, publishing and deploy checks.
Also in this pack
- react-doctor511Diagnoses and fixes React codebase health issues, including performance problems, security gaps and code quality.
- hogli267Explains the PostHog developer CLI and repo tooling for running, building, testing, and linting.
- clickhouse-migrations266Writes and modifies ClickHouse database migrations following project rules.
- survey-sdk-audit255Audits survey SDK features and version requirements, then implements survey changes across backend, UI, and SDKs.