Commencer maintenant
GitLab Tools

Gitlab Delete Repository File

Utilisez Gitlab Delete Repository File avec GitLab Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion OAuth

Description du fournisseur

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…

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

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

Sortie observable

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

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur