Integrations

GitLab

11 actions for GitLab.

Create GitLab Branch#

Create a new branch in a GitLab repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitLabCreateBranch · Beta

Inputs#

FieldTypeRequiredDefaultWhat it does
ProjectTextYes(empty)Project ID or namespace/project path.
Branch NameTextYes(empty)Name of the new branch.
Source RefTextYesmainBranch, tag, or commit to create the branch from.

Outputs#

OutputType
Branch NameAny
Commit ShaAny
Web UrlAny

Use as an agent tool#

Tool name: gitlab_create_branch

Create a new branch in a GitLab repository

Create/Update GitLab File#

Create or update a file in a GitLab repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitLabCreateFile · Beta

Inputs#

FieldTypeRequiredDefaultWhat it does
ProjectTextYes(empty)Project ID or namespace/project path.
File PathTextYes(empty)Path to the file within the repository.
ContentTextNo{input}File content.
BranchTextYesmainBranch to commit to.
Commit MessageTextNoUpdate file via FlowHuntCommit message.

Outputs#

OutputType
File PathAny
BranchAny
Commit ShaAny

Use as an agent tool#

Tool name: gitlab_create_file

Create or update a file in a GitLab repository

Create GitLab Issue#

Create a new issue in a GitLab project.

Plans: Trial, Pro, Premium, Enterprise · Type: GitLabCreateIssue · Beta

Inputs#

FieldTypeRequiredDefaultWhat it does
ProjectTextYes(empty)Project ID or namespace/project path (e.g. ‘mygroup/myproject’).
TitleTextYes(empty)Issue title.
DescriptionTextNo{input}Issue description (supports Markdown).
LabelsTextNo(empty)Labels to add (comma-separated).
Assignee IDsTextNo(empty)Numeric user IDs to assign (comma-separated).

Outputs#

OutputType
Issue IidAny
Issue UrlAny
Web UrlAny
Project PathAny
TitleAny
IssueAny

Use as an agent tool#

Tool name: gitlab_create_issue

Create a new issue in a GitLab project with title, description, and labels

Create GitLab Merge Request#

Create a new merge request in a GitLab project.

Plans: Trial, Pro, Premium, Enterprise · Type: GitLabCreateMR · Beta

Inputs#

FieldTypeRequiredDefaultWhat it does
ProjectTextYes(empty)Project ID or namespace/project path.
Source BranchTextYes(empty)Branch to merge from.
Target BranchTextYesmainBranch to merge into.
TitleTextYes(empty)Merge request title.
DescriptionTextNo(empty)Merge request description (supports Markdown).

Outputs#

OutputType
Mr IidAny
Mr UrlAny
Web UrlAny
Project PathAny
TitleAny
Merge RequestAny

Use as an agent tool#

Tool name: gitlab_create_mr

Create a new merge request in a GitLab project

Get GitLab File#

Retrieve a file from a GitLab repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitLabGetFile · Beta

Inputs#

FieldTypeRequiredDefaultWhat it does
ProjectTextYes(empty)Project ID or namespace/project path.
File PathTextYes(empty)Path to the file within the repository.
Branch / Tag / CommitTextNomainBranch, tag, or commit SHA to read from.

Outputs#

OutputType
ContentAny
File NameAny
File PathAny
EncodingAny
SizeAny
RefAny

Use as an agent tool#

Tool name: gitlab_get_file

Get the contents of a file from a GitLab repository

Get GitLab Project#

Get details of a GitLab project.

Plans: Trial, Pro, Premium, Enterprise · Type: GitLabGetProject · Beta

Inputs#

FieldTypeRequiredDefaultWhat it does
ProjectTextYes(empty)Project ID or namespace/project path (e.g. ‘mygroup/myproject’).

Outputs#

OutputType
IdAny
NameAny
Path With NamespaceAny
Web UrlAny
Default BranchAny
VisibilityAny
DescriptionAny

Use as an agent tool#

Tool name: gitlab_get_project

Get details of a GitLab project by ID or path

List GitLab Issues#

List issues in a GitLab project.

Plans: Trial, Pro, Premium, Enterprise · Type: GitLabListIssues · Beta

Inputs#

FieldTypeRequiredDefaultWhat it does
ProjectTextYes(empty)Project ID or namespace/project path.
StateTextNoopenedFilter by issue state. Options: opened, closed, all
LabelsTextNo(empty)Filter by labels (comma-separated).
LimitNumberNo30Maximum number of issues to return (max 100).

Outputs#

OutputType
IssuesAny
Total CountAny

Use as an agent tool#

Tool name: gitlab_list_issues

List issues in a GitLab project with optional state and label filters

List GitLab Merge Requests#

List merge requests in a GitLab project.

Plans: Trial, Pro, Premium, Enterprise · Type: GitLabListMRs · Beta

Inputs#

FieldTypeRequiredDefaultWhat it does
ProjectTextYes(empty)Project ID or namespace/project path.
StateTextNoopenedFilter by merge request state. Options: opened, merged, closed, all
SortTextNo(empty)Sort order. Options: , asc, desc
LimitNumberNo30Maximum number of merge requests to return (max 100).

Outputs#

OutputType
Merge RequestsAny
Total CountAny

Use as an agent tool#

Tool name: gitlab_list_mrs

List merge requests in a GitLab project with optional state filter

List GitLab Projects#

List accessible GitLab projects.

Plans: Trial, Pro, Premium, Enterprise · Type: GitLabListProjects · Beta

Inputs#

FieldTypeRequiredDefaultWhat it does
VisibilityTextNo(empty)Filter by project visibility. Options: , public, internal, private
SearchTextNo(empty)Search term to filter projects by name.
LimitNumberNo30Maximum number of projects to return (max 100).

Outputs#

OutputType
ProjectsAny
Total CountAny

Use as an agent tool#

Tool name: gitlab_list_projects

List accessible GitLab projects for the connected account

Search GitLab Code#

Search for code within a GitLab project.

Plans: Trial, Pro, Premium, Enterprise · Type: GitLabSearchCode · Beta

Inputs#

FieldTypeRequiredDefaultWhat it does
ProjectTextYes(empty)Project ID or namespace/project path.
QueryTextYes(empty)Code search query string.
LimitNumberNo30Maximum number of results to return (max 100).

Outputs#

OutputType
Total CountAny

Use as an agent tool#

Tool name: gitlab_search_code

Search for code within a GitLab project repository

Update GitLab Issue#

Update an existing issue in a GitLab project.

Plans: Trial, Pro, Premium, Enterprise · Type: GitLabUpdateIssue · Beta

Inputs#

FieldTypeRequiredDefaultWhat it does
ProjectTextYes(empty)Project ID or namespace/project path.
Issue IIDNumberYes0The internal ID of the issue to update.
TitleTextNo(empty)New issue title (leave empty to keep unchanged).
DescriptionTextNo(empty)New issue description (leave empty to keep unchanged).
StateTextNo(empty)Change issue state. Options: , close, reopen
LabelsTextNo(empty)Replace labels (comma-separated). Leave empty to keep unchanged.

Outputs#

OutputType
Issue IidAny
Issue UrlAny
Web UrlAny
Updated FieldsAny
IssueAny

Use as an agent tool#

Tool name: gitlab_update_issue

Update an existing GitLab issue (title, description, state, labels)