GitLab · Arazzo Workflow
GitLab Clean Up a Merged Branch
Version 1.0.0
Verify a branch has been merged, then unprotect and delete it.
View Spec
View on GitHub
CodeDeveloper ToolsPlatformSoftware DevelopmentSource ControlGitLabArazzoWorkflows
Provider
Workflows
cleanup-merged-branch
Delete a branch only after confirming it has been merged.
Reads the branch to confirm its merged flag, branches on the result, and for merged branches unprotects then deletes them.
1
getBranch
Read the branch and capture whether it has been merged.
2
unprotectBranch
Unprotect the branch so it can be deleted.
3
deleteBranch
Delete the now-unprotected, merged branch.
Source API Descriptions
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.