You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/integrations/gitlab.mdx
+26-3Lines changed: 26 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,6 +200,7 @@ Add a comment to a GitLab issue
200
200
|`projectId`| string | Yes | Project ID or path \(e.g. mygroup/myproject\)|
201
201
|`issueIid`| number | Yes | Issue internal ID \(IID\)|
202
202
|`body`| string | Yes | Comment body \(Markdown supported\)|
203
+
|`internal`| boolean | No | Create the comment as an internal note visible only to project members |
203
204
204
205
#### Output
205
206
@@ -341,6 +342,7 @@ Add a comment to a GitLab merge request
341
342
|`projectId`| string | Yes | Project ID or path \(e.g. mygroup/myproject\)|
342
343
|`mergeRequestIid`| number | Yes | Merge request internal ID \(IID\)|
343
344
|`body`| string | Yes | Comment body \(Markdown supported\)|
345
+
|`internal`| boolean | No | Create the comment as an internal note visible only to project members |
344
346
345
347
#### Output
346
348
@@ -402,6 +404,7 @@ Trigger a new pipeline in a GitLab project
402
404
|`projectId`| string | Yes | Project ID or path \(e.g. mygroup/myproject\)|
403
405
|`ref`| string | Yes | Branch or tag to run the pipeline on |
404
406
|`variables`| array | No | Array of variables for the pipeline \(each with key, value, and optional variable_type\)|
407
+
|`inputs`| json | No | Pipeline inputs as a key/value object \(for pipelines with spec:inputs\)|
405
408
406
409
#### Output
407
410
@@ -507,6 +510,10 @@ Create a new file in a GitLab project repository
507
510
|`filePath`| string | Yes | Path to the file in the repository |
508
511
|`branch`| string | Yes | Branch to commit the new file to |
509
512
|`content`| string | Yes | File content |
513
+
|`startBranch`| string | No | Name of the base branch to create the target branch from, if it does not exist |
514
+
|`authorName`| string | No | Commit author name \(defaults to the token user\)|
515
+
|`authorEmail`| string | No | Commit author email \(defaults to the token user\)|
516
+
|`executeFilemode`| boolean | No | Enable the execute flag on the file |
510
517
|`commitMessage`| string | Yes | Commit message |
511
518
512
519
#### Output
@@ -529,6 +536,10 @@ Update an existing file in a GitLab project repository
529
536
|`filePath`| string | Yes | Path to the file in the repository |
530
537
|`branch`| string | Yes | Branch to commit the update to |
531
538
|`content`| string | Yes | New file content |
539
+
|`startBranch`| string | No | Name of the base branch to create the target branch from, if it does not exist |
540
+
|`authorName`| string | No | Commit author name \(defaults to the token user\)|
541
+
|`authorEmail`| string | No | Commit author email \(defaults to the token user\)|
542
+
|`executeFilemode`| boolean | No | Enable or disable the execute flag on the file |
532
543
|`commitMessage`| string | Yes | Commit message |
533
544
|`lastCommitId`| string | No | Last known commit ID for the file \(optimistic locking\)|
534
545
@@ -592,6 +603,8 @@ Compare two branches, tags, or commits in a GitLab project repository
592
603
|`from`| string | Yes | Commit SHA or branch/tag name to compare from |
593
604
|`to`| string | Yes | Commit SHA or branch/tag name to compare to |
594
605
|`straight`| boolean | No | Compare directly from..to instead of using the merge base \(defaults to false\)|
606
+
|`fromProjectId`| string | No | ID of the project to compare from \(for cross-fork comparisons\)|
607
+
|`unidiff`| boolean | No | Return diffs in unified diff format \(GitLab 16.5+\)|
595
608
596
609
#### Output
597
610
@@ -745,6 +758,7 @@ Trigger (play) a manual GitLab job
745
758
|`host`| string | No | Self-managed GitLab host \(e.g. gitlab.example.com\). Defaults to gitlab.com. |
746
759
|`projectId`| string | Yes | Project ID or path \(e.g. mygroup/myproject\)|
747
760
|`jobId`| number | Yes | Job ID |
761
+
|`jobVariables`| array | No | Variables for the manual job \(array of objects with key and value\)|
748
762
749
763
#### Output
750
764
@@ -792,6 +806,8 @@ Create a new release in a GitLab project
792
806
|`description`| string | No | Release description/notes \(Markdown supported\)|
793
807
|`ref`| string | No | Commit SHA, branch, or tag to create the tag from if it does not already exist |
794
808
|`releasedAt`| string | No | ISO 8601 date for an upcoming or historical release |
809
+
|`tagMessage`| string | No | Annotation message to use if creating a new annotated tag |
810
+
|`assetLinks`| array | No | Release asset links: array of objects with name, url, and optional link_type \(other, runbook, image, package\)|
795
811
|`milestones`| array | No | Array of milestone titles to associate with the release |
796
812
797
813
#### Output
@@ -813,6 +829,9 @@ List members of a GitLab project or group. Includes members inherited from ances
813
829
|`resourceId`| string | Yes | Project or group ID or path \(e.g. mygroup/myproject\)|
814
830
|`directOnly`| boolean | No | When true, returns only direct members. Defaults to false, which also returns members inherited from ancestor groups. |
815
831
|`query`| string | No | Filter members by name, email, or username |
832
+
|`userIds`| string | No | Comma-separated user IDs to filter the results to |
833
+
|`state`| string | No | Filter inherited-member results by state: 'awaiting' or 'active' \(Premium/Ultimate; only applies when inherited members are included\)|
834
+
|`showSeatInfo`| boolean | No | Include seat information for each member |
816
835
|`perPage`| number | No | Number of results per page \(default 20, max 100\)|
817
836
|`page`| number | No | Page number for pagination |
818
837
@@ -834,8 +853,9 @@ Add an existing GitLab user to a project or group at a given access level
834
853
|`host`| string | No | Self-managed GitLab host \(e.g. gitlab.example.com\). Defaults to gitlab.com. |
835
854
|`resourceType`| string | Yes | Whether the resource is a 'project' or a 'group' |
836
855
|`resourceId`| string | Yes | Project or group ID or path \(e.g. mygroup/myproject\)|
837
-
|`userId`| number | Yes | The ID of the user to add |
0 commit comments