EnvironmentProtection
Fields
Section titled “Fields”| 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
Example
Section titled “Example”{ "require_approval": false, "approver_roles": [ "owner", "admin" ], "allowed_branches": [ "string" ]}