GitLab Tools
Gitlab Delete Repository File
通过 Aident Loadout 使用 GitLab Tools 的 Gitlab Delete Repository File。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5OAuth 连接
服务提供商说明
Deletes a file from a GitLab repository by creating a new commit. Use this action when you need to remove a file from a project's repository on a specific branch. This action is irreversible — the file will be removed from the specified branch, though it remains in the git histo…
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- Name of the branch where the file will be deleted.branchstring必填
- URL-encoded full path to the file to delete (e.g., 'lib/class.rb' or 'docs/readme.md').file_pathstring必填
- The ID or URL-encoded path of the project.project_id必填
- The commit author's name. If not provided, uses the authenticated user's name.author_namestring
- The commit author's email address. If not provided, uses the authenticated user's email.author_emailstring
- Name of the base branch to create the new branch from. Used when the target branch doesn't exist yet.start_branchstring
- Commit message describing the file deletion.commit_messagestring必填
- Last known commit ID for the file. Used to detect concurrent modifications. If provided and the file has been modified since this commit, the deletion will fail.last_commit_idstring
可观察输出
- 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必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。