GitLab · Arazzo Workflow
GitLab Create and Protect a Release Branch
Version 1.0.0
Cut a new branch from a ref and immediately apply push/merge protection.
Provider
Workflows
create-and-protect-branch
Create a branch and then protect it in a single flow.
Creates a branch from the supplied ref, then applies branch protection with the requested developer push and merge permissions.
1
createBranch
postApiV4ProjectsIdRepositoryBranches
Create the branch from the supplied ref.
2
protectBranch
putApiV4ProjectsIdRepositoryBranchesBranchProtect
Protect the freshly created branch, setting whether developers may push and merge.