gluecron_write_file
Create or update a file on a branch via git plumbing. Wraps createOrUpdateFileOnBranch. Pass content as a UTF-8 string OR content_base64 for binary. Meets the same branch protection, rulesets and secret scan as a git push, and fires CI/webhooks like one. Requires 'repo' scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| repo | Yes | ||
| owner | Yes | ||
| branch | Yes | ||
| content | No | UTF-8 file body (optional) | |
| message | Yes | Commit message | |
| content_base64 | No | Base64 file body (optional) | |
| expect_blob_sha | No | Optimistic-concurrency check: existing blob sha must match. |