Skip to content

EnvironmentProtection

View as Markdown
Field Type Description
require_approval boolean Deploys and changes by agents (and by roles not listed in approver_roles) need human approval.
approver_roles array of Role Default ["owner","admin"].
allowed_branches array of string Only these branches may deploy here. Empty means any.

* always present

{
"require_approval": false,
"approver_roles": [
"owner",
"admin"
],
"allowed_branches": [
"string"
]
}