veryfront__create_branch_policy

Create a merge policy for branches matching a pattern. Requires project.settings.manage.

Risk: mutating.

Arguments

NameTypeRequiredDescription
namestringYesPolicy name
is_enabledbooleanEnable the policy (default: true).
required_approvalsintegerRequired approvals (default: 1). REST/GraphQL default to 0.
allow_self_approvalbooleanAllow the merger’s approval to count (default: false). REST/GraphQL default to true.
target_branch_patternstring,nullPattern to match branches (e.g., "main", "release/*"). Omit or send null to match every branch.
required_reviewer_idsarrayUser IDs who must approve before a matching branch can merge.
project_referencestringProject ID or slug

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__create_branch_policy",    "arguments": {      "name": "<name>"    }  }}