push_files
Push multiple files to a GitHub repository branch in a single atomic commit using the Git Data API, creating blobs, trees, and updating references.
Instructions
Push multiple files to a branch in a single commit using the Git Data API. This creates blobs, a tree, a commit, and updates the branch ref atomically.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| branch | Yes | Target branch name | |
| files | Yes | Dictionary of file paths to file contents (e.g. {"src/main.py": "print('hello')"}) | |
| message | Yes | Commit message |