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
Fork the upstream repository into the authenticated account. The fork is created asynchronously and returns 202 Accepted.
2
getForkDefaultRef
Read the default branch reference on the fork to obtain its tip commit SHA.
3
createWorkingBranch
Create the working branch on the fork from the default branch tip SHA.
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.