Bootstrap repository for ONYX-12 setup.
This repository uses GitHub Actions for the ONYX-14 delivery controls:
CIruns on every pull request and every push tomainDeploy Stagingruns automatically after successful CI on merges tomainDeploy Productionis manual and requires two distinct GitHub collaborator approvals recorded in GitHub before deployment continuesRollbackis manual and records an auditable rollback manifest for every run
Deployments never hardcode secrets in the repository. Runtime injection is expected through GitHub Secrets:
STAGING_DEPLOY_COMMANDPROD_DEPLOY_COMMANDROLLBACK_COMMAND
If one of those secrets is not configured yet, the workflow records an audited dry run instead of executing a real deployment command.
Production deployments open a GitHub approval issue for the workflow run and wait for two distinct collaborator approvals.
Rules:
- the person who starts the deploy cannot count as an approver
- each approver must have
write,maintain, oradminaccess to the repository - each approver must comment
/approve /denyfrom either named approver fails the workflow- the approval issue is closed automatically when the workflow ends
This keeps approvals written, retained, and auditable inside GitHub.
- Open the
Rollbackworkflow in GitHub Actions. - Choose the environment and target Git ref to restore.
- Provide the reason for the rollback.
- Run the workflow.
- If
ROLLBACK_COMMANDis configured, GitHub Actions executes it at runtime. - Download the generated rollback artifact and confirm the rollback target, operator, and reason.
The CI workflow also runs a rollback smoke test so the rollback manifest path is continuously validated.