The widget lets you edit the GitLab CI/CD pipeline configuration in .gitlab-ci.yml and create merge requests with the changes.

Configuration

NameRequiredDescriptionDefault value
URLYesGitLab API URL used to retrieve data from GitLab—
Project IDYesID of the project from which the widget retrieves data. Example: 12345—

Displayed data

The widget displays a Monaco code editor for editing .gitlab-ci.yml and a diff view of the original and edited configuration.

Additional widget features

Creating a merge request

The widget lets you create a merge request containing pipeline configuration changes.

Merge request parameters

NameRequiredDescriptionDefault value
MR titleYesShort title describing the purpose of the merge request—
MR descriptionNoDetailed description of the merge request and changes—
New branch nameYesName of the new branch that will contain the changes—
Target branchYesBranch to which the merge request will be submittedmain
Commit messageYesDescription of changes to the pipeline configuration—

Limitations

  • The widget supports only the .gitlab-ci.yml file in the project root.
  • Creating a merge request requires write access to the repository.
  • The maximum configuration file size is limited by the GitLab API.

Authentication

Authentication configuration is described in the External services section.