Wait for approval with YAML

YAML parameters for Wait for approval

NameTypeDescription
action RequiredStringThe name of the action.
type RequiredStringThe type of the action. Should be set to WAIT_FOR_APPLY.
commentStringThe question displayed before accepting to continue the execution.
permissionsPipelinePermissionsDefine to set permissions for the action.

YAML example for Wait for approval

yaml
actions: - 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

NameTypeDescription
othersStringAccessLevel for the group Others. Can be one of DENIED, ALLOWED. Default setting is ALLOWED.
usersUserPermission[]The list of users who will be granted a permission other than the Others group.
groupsGroupPermission[]The group who will be granted a permission other than the Others group.
yaml
permissions: others: "DENIED" users: alex@buddy.works: "DENIED" mike@buddy.works: "ALLOWED" groups: frontend: "DENIED" backend: "ALLOWED"

Last modified on Oct 29, 2024