Branch actions
gitlab_branch_actionGet, create, or delete GitLab branches by specifying the action, branch name, and project. Also supports deleting merged branches.
Instructions
Gets, creates or deletes branches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | For create: source branch/tag/SHA | |
| action | Yes | ||
| branch | No | Branch name (not needed for delete_merged) | |
| project_id | No | Project id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID. |