Azure DevOps · Arazzo Workflow
Azure DevOps Commit a File via a Git Push
Version 1.0.0
Resolve the tip of a branch, push a new commit, and confirm the push.
Provider
Workflows
commit-file-via-push
Resolve a branch tip, push a file change, and confirm the push.
Lists refs to find the branch tip, creates a push that commits a file change on top of it, and lists pushes to confirm.
1
resolveBranchTip
refs_list
List refs filtered to the target branch to resolve its current object ID, which becomes the oldObjectId of the push refUpdate.
2
createPush
pushes_create
Create a push that advances the branch from the resolved tip and commits a single file edit with raw text content.
3
confirmPush
pushes_list
List recent pushes on the branch to confirm the new push is present.