GitHub · Arazzo Workflow
GitHub Commit a File to a New Branch
Version 1.0.0
Branch off the default branch and commit a new file to that branch.
Provider
Workflows
commit-file-to-new-branch
Create a branch from a base ref and commit a file to it.
Resolves the base branch SHA, creates a new branch reference from it, and commits a new file onto the branch.
1
getBaseRef
Read the base branch reference to obtain the commit SHA the new branch will point at.
2
createBranchRef
Create the new branch reference pointing at the base commit SHA returned by the previous step.
3
commitFile
Create the file on the new branch in a single commit.
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.