Gitee

by normal-coder
Verified

push_files

向 Gitee 仓库提交多个文件

Input Schema

NameRequiredDescriptionDefault
branchNoBranch name, defaults to the repository's default branch
filesYesList of files to commit
messageYesCommit message
ownerYesRepository owner path (enterprise, organization, or personal path)
repoYesRepository path

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "branch": { "description": "Branch name, defaults to the repository's default branch", "type": "string" }, "files": { "description": "List of files to commit", "items": { "additionalProperties": false, "properties": { "content": { "description": "File content", "type": "string" }, "path": { "description": "File path", "type": "string" } }, "required": [ "path", "content" ], "type": "object" }, "type": "array" }, "message": { "description": "Commit message", "type": "string" }, "owner": { "description": "Repository owner path (enterprise, organization, or personal path)", "type": "string" }, "repo": { "description": "Repository path", "type": "string" } }, "required": [ "owner", "repo", "message", "files" ], "type": "object" }