Empezar ahora
GitLab Tools

Gitlab Delete Repository File

Usa Gitlab Delete Repository File con GitLab Tools mediante Aident Loadout. Revisa sus entradas, salidas, configuración, precio y riesgo antes de ejecutarla.

Action de escrituraNivel de riesgo 2 de 5Conexión OAuth

Descripción del proveedor

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…

Precios y límites

Precio
Action gratuita
Pago unificado
No compatible actualmente

Entradas

  • branchstring
    Obligatorio
    Name of the branch where the file will be deleted.
  • file_pathstring
    Obligatorio
    URL-encoded full path to the file to delete (e.g., 'lib/class.rb' or 'docs/readme.md').
  • project_id
    Obligatorio
    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
    Obligatorio
    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.

Salida observable

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

Skills que usan esta Action

Casos de uso relacionados

Aún no hay casos de uso relacionados verificados.

Fuente oficial

Fuente del proveedor