category: Utilities provider: GitLab Inc. commonfields: id: GitLabv2 version: -1 configuration: - display: Server URL (e.g., https://gitlab.com/api/v4) name: url required: true type: 0 - displaypassword: API Key additionalinfo: The API Key to use for connection. name: credentials hiddenusername: true required: true type: 9 - displaypassword: Trigger Token additionalinfo: The trigger token to run pipelines. For more info see https://docs.gitlab.com/ee/ci/triggers name: trigger_token hiddenusername: true required: false type: 9 - display: Project ID additionalinfo: The project ID, it can be found under the project name. name: project_id required: true type: 0 - display: Trust any certificate (not secure) name: insecure type: 8 required: false - display: Use system proxy settings name: proxy type: 8 required: false description: Integration to GitLab API. display: GitLab v2 name: GitLabv2 script: commands: - name: gitlab-version-get description: Retrieve version information for this GitLab instance. outputs: - type: String contextPath: GitLab.Version.version description: The version of this GitLab instance. - type: String contextPath: GitLab.Version.revision description: The revision of this GitLab instance. - name: gitlab-file-get description: Gets information about a file in the repository, such as name, size, content. arguments: - name: file_path description: The file path. - name: ref description: The name of the branch, tag or commit. outputs: - contextPath: GitLab.File.file_name description: The file name. type: String - contextPath: GitLab.File.file_path description: The path of the file. type: String - contextPath: GitLab.File.size description: The size of the file. type: Number - contextPath: GitLab.File.encoding description: The encoding of the file. type: String - contextPath: GitLab.File.content description: File content. type: String - contextPath: GitLab.File.content_sha256 description: The file after hashing the content. type: String - contextPath: GitLab.File.ref description: The branch the file's content was taken from. type: String - contextPath: GitLab.File.blob_id description: The blob ID. type: String - contextPath: GitLab.File.commit_id description: The commit ID of the file. type: String - contextPath: GitLab.File.last_commit_id description: The last commit ID of the file. type: String - contextPath: GitLab.File.execute_filemode description: Whether the file was executed in filemode. type: Boolean - name: gitlab-file-create description: Allows you to create a single file. file-path or entry_id must be specified. arguments: - name: entry_id description: Entry ID of the file. - name: file_path description: URL-encoded full path to the new file. - name: file_content description: The file's content. - name: branch description: Name of the new branch to create. The commit is added to this branch. required: true - name: author_email description: The commit author's email address. - name: author_name description: The commit author's name. - name: commit_message description: The commit message. required: true - auto: PREDEFINED name: execute_filemode description: Enables or disables the execute flag on the file. predefined: - 'true' - 'false' outputs: - contextPath: GitLab.File.file_path description: URL-encoded full path of the new file. type: String - contextPath: GitLab.File.branch description: Name of the new branch to create. type: String - name: gitlab-file-update description: Edit an existing file in the repository. arguments: - name: file_path description: URL-encoded full path to the new file. required: true type: String - name: branch description: Name of the new branch to create. The commit is added to this branch. required: true - name: start_branch description: Name of the base branch to create the new branch from. - auto: PREDEFINED name: encoding description: Change encoding to base64. type: String predefined: - text - base64 - name: author_email description: The commit author email address. - name: author_name description: The commit author name address. - name: entry_id description: Entry ID of the file. - name: file_content description: The file content. required: true - name: commit_message description: The commit message. required: true - name: last_commit_id description: Last known file commit ID. - auto: PREDEFINED name: execute_filemode description: Enables or disables the execute flag on the file. predefined: - 'true' - 'false' outputs: - type: String contextPath: GitLab.File.file_path description: The file path. - type: String contextPath: GitLab.File.branch description: The name of the branch. - name: gitlab-file-delete description: Delete a file in the repository. arguments: - name: file_path description: URL-encoded full path of the file. required: true type: String - name: branch description: Name of the new branch to delete. required: true - name: commit_message description: The commit message. required: true outputs: [] - name: gitlab-issue-list description: Get a list of a project's issues. arguments: - name: assignee_id description: The ID assigned to the user. The command gitlab-project-user-list gives a list of all relevant users. - name: assignee_username description: The username assigned to the user. - name: author_id description: The ID of the author of the issue. The command gitlab-project-user-list gives a list of all relevant users. - name: author_username description: The username of the author of the issue. - name: confidential description: Whether to filter confidential or public issues. type: Boolean - name: created_after description: Return issues created on or after the given time in timestamp format (