GitLab Tools
Gitlab Create File
Utilisez Gitlab Create 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
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.
Tarifs et limites
- Tarif
- Action gratuite
- Paiement unifié
- Non pris en charge actuellement
Entrées
- The name of the branch where the file will be created.branchstringObligatoire
- The content of the file to create.contentstringObligatoire
- 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_pathstringObligatoire
- The ID or URL-encoded path of the project.project_idObligatoire
- 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_messagestringObligatoire
- Whether to enable the execute flag on the file (for executable files).execute_filemodeboolean
Sortie observable
- Data from the action executiondataObligatoire
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulbooleanObligatoire
Skills qui utilisent cette Action
Cas d’usage associés
Aucun cas d’usage associé et vérifié pour le moment.