UpdateBranchRuleRequest
Shape
- allow_force_pushboolean or nulloptional
- allowed_to_mergeAccessLevelguestreporterdevelopermaintainerowneror nulloptional
- allowed_to_pushAccessLevelguestreporterdevelopermaintainerowneror nulloptional
- enforcementRuleEnforcementdefaultenforcedor nulloptionalOn a group only; see the create request.
- merge_allowlistarray of AllowlistEntryId (string · uuid) or nulloptional
- push_allowlistarray of AllowlistEntryId (string · uuid) or nulloptional
- require_code_owner_approvalboolean or nulloptional
Example
Synthesized example{
"allow_force_push": false,
"allowed_to_merge": "guest",
"allowed_to_push": "guest",
"enforcement": "default",
"merge_allowlist": [
"9e16000d-8071-4ab5-bb6f-f088f34ea6b2",
"976b3d9f-acf9-41c0-82e4-54b133f3ae21"
],
"push_allowlist": [
"c62cdcc5-6e6e-47df-9e71-824969d92765"
],
"require_code_owner_approval": false
}
Graph
Used inside
No schema contains this one.
Contains
No named schema inside.
Used by
Sent by 2 operations
Returned by 0 operations
No operation returns it directly.