立即开始
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…

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • branchstring
    必填
    Name of the branch where the file will be deleted.
  • file_pathstring
    必填
    URL-encoded full path to the file to delete (e.g., 'lib/class.rb' or 'docs/readme.md').
  • project_id
    必填
    The ID or URL-encoded path of the project.
  • author_namestring
    The commit author's name. If not provided, uses the authenticated user's name.
  • author_emailstring
    The commit author's email address. If not provided, uses the authenticated user's email.
  • start_branchstring
    Name of the base branch to create the new branch from. Used when the target branch doesn't exist yet.
  • commit_messagestring
    必填
    Commit message describing the file deletion.
  • last_commit_idstring
    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.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源