Backstage
Docs
Github
Preparing search index...
@backstage/plugin-scaffolder-backend-module-gitlab
createPublishGitlabMergeRequestAction
Function createPublishGitlabMergeRequestAction
createPublishGitlabMergeRequestAction
(
options
:
{
integrations
:
ScmIntegrationRegistry
}
,
)
:
TemplateAction
<
{
assignee
?:
string
;
assignReviewersFromApprovalRules
?:
boolean
;
branchName
:
string
;
commitAction
?:
"create"
|
"delete"
|
"update"
|
"skip"
|
"auto"
;
description
?:
string
;
labels
?:
string
|
string
[]
;
projectid
?:
string
;
removeSourceBranch
?:
boolean
;
repoUrl
:
string
;
reviewers
?:
string
[]
;
sourcePath
?:
string
;
targetBranchName
?:
string
;
targetPath
?:
string
;
title
:
string
;
token
?:
string
;
}
,
{
mergeRequestUrl
:
string
;
projectid
:
string
;
projectPath
:
string
;
targetBranchName
:
string
;
}
,
"v2"
,
>
Create a new action that creates a GitLab merge request.
Parameters
options
:
{
integrations
:
ScmIntegrationRegistry
}
Returns
TemplateAction
<
{
assignee
?:
string
;
assignReviewersFromApprovalRules
?:
boolean
;
branchName
:
string
;
commitAction
?:
"create"
|
"delete"
|
"update"
|
"skip"
|
"auto"
;
description
?:
string
;
labels
?:
string
|
string
[]
;
projectid
?:
string
;
removeSourceBranch
?:
boolean
;
repoUrl
:
string
;
reviewers
?:
string
[]
;
sourcePath
?:
string
;
targetBranchName
?:
string
;
targetPath
?:
string
;
title
:
string
;
token
?:
string
;
}
,
{
mergeRequestUrl
:
string
;
projectid
:
string
;
projectPath
:
string
;
targetBranchName
:
string
;
}
,
"v2"
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
Github
Backstage
Loading...
Create a new action that creates a GitLab merge request.