Protect tag
protect_tagCreate a protected-tag policy for a GitLab project by specifying tag name and access levels. Requires explicit acknowledgement to prevent accidental governance changes.
Instructions
Create a protected-tag policy after a capability preflight. An explicit acknowledgement is required to prevent accidental governance changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| project | Yes | GitLab project ID or full path such as group/project. | |
| allowed_to_create | No | ||
| create_access_level | No | ||
| acknowledge_protection_change | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | GitLab response normalized for model use. |