GitHub & Code
commitFiles
Commit Files
Commit one or more files to a feature branch on a connected GitHub repo (multi-file atomic commit).
Arguments
accountstringoptionalConnected GitHub login to act as. Defaults to the Primary account.branchstringrequiredTarget feature branch (never main/protected)expectedHeadShastringoptionalSha-guard: the branch head you based this edit on. Fails loudly if stale.filesobject[]requiredFiles to write in one commitmessagestringrequiredCommit messageownerstringrequiredRepository ownerrepostringrequiredRepository name
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- commit this
- save the edit to the branch
Pair it with
The verbs that finish the job.