Deploy after approval
Make a deploy wait for approval, and approve it
Add an approval job, or turn on Deploy after approval in a deploy job, and the run pauses there until someone approves. Once approved, the next job runs. If rejected, the run stops there.
Settings
| Setting | What it does |
|---|---|
| Approvers | Use Add approver to pick who can approve. You need at least one to save. |
| Approval message | A note shown to approvers. Only vars, env and collabops expressions are allowed. |
| Approval timeout (minutes) | The longest the job waits for approval. Past that, the job fails. Leave it empty to use only the job timeout. |
Approving
A run that is waiting shows a Waiting for approval banner. An approver clicks Open and chooses Approve or Reject. Rejecting needs a reason in Comment.
The next job runs as soon as one of the approvers approves.
When it isn't approved
If it is rejected or the approval timeout passes, the run ends as failed.
If the approval job is skipped by its run condition, no approval is requested and the deploy after it is skipped too.
A Re-run from failure asks for approval again.