Protect Branch
gitlab_protect_branchProtect a GitLab branch or wildcard rule by setting role-based access levels for push, merge, and unprotect actions.
Instructions
Protect a branch or wildcard rule and configure role-based push, merge, and unprotect access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | ||
| project_id | No | ||
| allow_force_push | No | ||
| push_access_level | No | ||
| merge_access_level | No | ||
| unprotect_access_level | No | ||
| code_owner_approval_required | No |