Create
Open a project merge request
Create
Open a project merge request
yaml
type: "io.kestra.plugin.gitlab.mergerequests.Create"Examples
yaml
id: gitlab_merge_request
namespace: company.team
tasks:
- id: create_merge_request
type: io.kestra.plugin.gitlab.mergerequests.Create
token: "{{ secret('GITLAB_TOKEN') }}"
projectId: "123"
title: "Feature: Add new functionality"
mergeRequestDescription: "This merge request adds new functionality to the project"
sourceBranch: "feat-testing"
targetBranch: "main"
yaml
id: gitlab_merge_request_self_hosted
namespace: company.team
tasks:
- id: create_merge_request
type: io.kestra.plugin.gitlab.mergerequests.Create
url: https://gitlab.example.com
apiPath: /api/v4/projects
token: "{{ secret('GITLAB_TOKEN') }}"
projectId: "123"
title: "Hotfix: Critical bug fix"
sourceBranch: "hotfix-branch"
targetBranch: "main"
Properties
projectId *Requiredstring
sourceBranch *Requiredstring
targetBranch *Requiredstring
title *Requiredstring
token *Requiredstring
apiPath string
Default
/api/v4/projectsmergeRequestDescription string
url string
Default
https://gitlab.com