What problem does it solve?
This Skill enables programmatic management of GitLab tags across projects, including creation, retrieval, protection, and deletion, to streamline release workflows and ensure consistency.
Core Features & Use Cases
- Retrieve tags for a project with get_tags, optionally filtering or sorting.
- Create a new tag with create_tag by specifying project_id, name, ref, and optional message or release_description.
- Protect or unprotect tags with protect_tag / unprotect_tag to enforce access controls.
- Retrieve protected tag details with get_protected_tags / get_protected_tag.
- Use Case: automate tagging as part of a CI/CD release pipeline and enforce tag protections across multiple repositories.
Quick Start
Use the create_tag command to add a new tag, e.g., create_tag(project_id="123", name="v1.0.0", ref="main").
To review existing tags, call get_tags(project_id="123").
To secure a tag, call protect_tag(project_id="123", name="v1.0.0", create_access_level="maintainer").