GitHub · Arazzo Workflow
GitHub Fork a Repository and Create a Working Branch
Version 1.0.0
Fork a repository, resolve the fork's default branch tip, and create a working branch.
Provider
Workflows
fork-and-branch
Fork a repository then create a working branch on the fork.
Forks the upstream repository, reads the fork's default branch tip, and creates a working branch from it.
1
forkRepository
createFork
Fork the upstream repository into the authenticated account. The fork is created asynchronously and returns 202 Accepted.
2
getForkDefaultRef
getReference
Read the default branch reference on the fork to obtain its tip commit SHA.
3
createWorkingBranch
createReference
Create the working branch on the fork from the default branch tip SHA.