GitLab · Arazzo Workflow
GitLab Ensure a Branch Exists
Version 1.0.0
Check whether a branch exists and create it from a ref only when missing.
View Spec
View on GitHub
CodeDeveloper ToolsPlatformSoftware DevelopmentVersion ControlGitLabArazzoWorkflows
Provider
Workflows
ensure-branch-exists
Create a branch only when it does not already exist.
Reads a single branch by name; when it is found the flow ends with the existing branch, and when it is not found the flow creates the branch from the supplied ref.
1
getBranch
Look up the branch by name. A 200 means it already exists; a 404 means it must be created.
2
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.