Create Branch And Await Availability
A 2-step recipe with Gitea. We can help you get access.
Recipe · 2 steps
Create Branch And Await Availability
with Gitea · Software Construction Management
Create a branch and poll until it is retrievable.
- Create a new branch from the supplied base ref.
- Look up the branch and retry until the repository returns it, confirming the branch is fully available.
What you'll need to have ready
- authToken: Authorization header value, e.g. "token <personal-access-token>".
- owner: Owner of the repository.
- repo: Name of the repository.
- newBranch: Name of the branch to create.
- baseBranch: Existing branch or ref to create the new branch from.
For your developer
Arazzo workflow gitea:create-branch-and-await, 2 operations: repoCreateBranch → repoGetBranch. Specs on APIs.io.