Release workflows
Choose the release ref and read the approval and dependency gates before a deployment.
The release workflows deploy a selected revision through the shared deployment workflow. A GitHub Actions run is the place to check what was selected, what needed deployment, and which gate stopped it. This page describes those controls; it is not a cutover procedure.
Choose the entry point
| Entry point | What it does |
|---|---|
| DEV Release Workflow | Runs on a push to main or by manual dispatch to dev. The dispatch offers infrastructure, all-app and named-app controls, but no ref input. |
| PROD Release Workflow | Runs by manual dispatch for prod, from main or a release/* branch. Leave ref empty; a ref that resolves to another commit is refused. |
The shared deployment workflow pins one commit before any job starts and passes that SHA to infrastructure, migrations, backend, frontend, docs, Databricks and sandbox deployments, so a push to the branch after approval does not change what the run deploys. A prod run started from any other branch or tag stops at that step, before it reaches AWS. Start the run from the branch you want to deploy.
The deployment workflow detects affected applications. deploy_all selects all applications regardless of the diff, while deploy_app names particular apps to force; with neither, it uses change detection. An approval gate runs before a deployment that would change an application or infrastructure. In prod the gate uses the prod-approval GitHub environment and needs one approval from someone other than the person who started the run; an infrastructure change asks for a second approval before the apply. Dev deploys pass the gate without approval, but a dev infrastructure change still waits after its plan for an approval in the approval-gate environment. Production jobs then target the prod environment, which accepts only main and release/*. Review the selected jobs and their plans before approval.
Read a skipped job
A dependent job runs only when each required parent job has succeeded or was skipped because that parent was not needed for this release. If a needed parent fails, its dependents stop, even when GitHub reports the parent as skipped after an earlier failure. In particular:
- Infrastructure precedes migrations and application jobs. Docs depends on infrastructure but not the backend.
- Backend follows migrations when migrations are needed. Frontend and Databricks follow backend when it is needed.
- Macro and calibration sandboxes follow the backend, frontend and Databricks jobs when those are needed.
For a partial release, read the job selection as well as the result. If backend was deliberately not selected, a separate migration failure does not automatically block a selected downstream application through that skipped backend job. If a migration fails after approval, cancel the run before any still-eligible downstream deployment starts. Inspect the failure before starting another release.
Workflow file rules
Pin third-party uses to a full commit SHA and keep the version in a trailing comment. Dependabot's GitHub Actions group updates these pins. The 2026-10-12 QA check found repository-level SHA enforcement disabled, so verify Settings → Actions → General before relying on it to reject future unpinned actions.
Pass free-text dispatch inputs to shell steps through env: and quote the shell variable. The shared deployment workflow accepts only dev or prod for its environment input. Review reusable workflows for the same validation when adding a new entry point. The deploy checkouts set persist-credentials: false; the PR release-preview dry run intentionally retains the checkout credential for its semantic-release push check. Do not copy that exception into a new job without the same need.
The workflow files under .github/workflows/ are the source for the current inputs and job conditions. Read them again before starting a release, especially when selecting an older ref.
The Centrum status-view cutover runbook gives the separate manual steps for that release.