GitLab Tools
Gitlab Create File
通过 Aident Loadout 使用 GitLab Tools 的 Gitlab Create File。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5OAuth 连接
服务提供商说明
Creates a new file in a GitLab repository at the specified path with the given content. Use this action when you need to add a new file to a repository branch with a commit message.
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- The name of the branch where the file will be created.branchstring必填
- The content of the file to create.contentstring必填
- The encoding of the file content. Set to 'base64' if the content is base64-encoded. Default is 'text'.encodingstring
- The full path to the file to create within the repository (e.g., 'lib/class.rb' or 'docs/README.md').file_pathstring必填
- The ID or URL-encoded path of the project.project_id必填
- The name of the commit author. If not provided, uses the authenticated user's name.author_namestring
- The email address of the commit author. If not provided, uses the authenticated user's email.author_emailstring
- Name of the base branch to create the new branch from. Only used if the specified branch does not exist.start_branchstring
- The commit message describing why the file was created.commit_messagestring必填
- Whether to enable the execute flag on the file (for executable files).execute_filemodeboolean
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。