今すぐ始める
GitLab Tools

Gitlab Create File

Aident Loadout を通じて GitLab Tools の Gitlab Create File を使用します。実行前に入力、出力、設定、料金、リスクを確認できます。

書き込み Actionリスクレベル 2/5OAuth 接続

プロバイダーの説明

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.

料金と制限

料金
無料 Action
統合支払い
現在未対応

入力

  • branchstring
    必須
    The name of the branch where the file will be created.
  • contentstring
    必須
    The content of the file to create.
  • encodingstring
    The encoding of the file content. Set to 'base64' if the content is base64-encoded. Default is 'text'.
  • file_pathstring
    必須
    The full path to the file to create within the repository (e.g., 'lib/class.rb' or 'docs/README.md').
  • project_id
    必須
    The ID or URL-encoded path of the project.
  • author_namestring
    The name of the commit author. If not provided, uses the authenticated user's name.
  • author_emailstring
    The email address of the commit author. If not provided, uses the authenticated user's email.
  • start_branchstring
    Name of the base branch to create the new branch from. Only used if the specified branch does not exist.
  • commit_messagestring
    必須
    The commit message describing why the file was created.
  • execute_filemodeboolean
    Whether to enable the execute flag on the file (for executable files).

確認できる出力

  • 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

この Action を使用する Skills

関連ユースケース

検証済みの関連ユースケースはまだリンクされていません。

公式ソース

プロバイダーのソース