Wait for approval with YAML
Tip
YAML parameters for Wait for approval
Name | Type | Description |
---|---|---|
action Required | String | The name of the action. |
type Required | String | The type of the action. Should be set to WAIT_FOR_APPLY . |
comment | String | The question displayed before accepting to continue the execution. |
permissions | PipelinePermissions | Define to set permissions for the action. |
YAML example for Wait for approval
yamlactions: - action: "Wait for apply" type: "WAIT_FOR_APPLY" trigger_time: "ON_EVERY_EXECUTION" comment: "Do you want to deploy ${BUDDY_RUN_COMMIT} to Production?"
PipelinePermissions schema
Name | Type | Description |
---|---|---|
others | String | AccessLevel for the group Others. Can be one of DENIED , ALLOWED . Default setting is ALLOWED . |
users | UserPermission[] | The list of users who will be granted a permission other than the Others group. |
groups | GroupPermission[] | The group who will be granted a permission other than the Others group. |
yamlpermissions: others: "DENIED" users: alex@buddy.works: "DENIED" mike@buddy.works: "ALLOWED" groups: frontend: "DENIED" backend: "ALLOWED"
Last modified on Oct 29, 2024