confirm
The confirm step type asks for a yes/no decision and stores the answer, adding an interactive guardrail to your custom commands and workflows before they take a risky action.
steps:
- name: proceed
type: confirm
prompt: Deploy to production?
default: false
Fields
prompt- Required. Prompt text shown to the user.
default- Optional default. Values such as
trueoryesdefault to confirmation.
Interactive steps require a TTY. Reference the answer later with {{ .steps.proceed.value }}.