createPublishGitlabMergeRequestAction()
Home > @backstage/plugin-scaffolder-backend-module-gitlab > createPublishGitlabMergeRequestAction
Create a new action that creates a GitLab merge request.
Signature:
createPublishGitlabMergeRequestAction: (options: {
    integrations: ScmIntegrationRegistry;
}) => import("@backstage/plugin-scaffolder-node").TemplateAction<{
    repoUrl: string;
    title: string;
    branchName: string;
    description?: string | undefined;
    targetBranchName?: string | undefined;
    sourcePath?: string | undefined;
    targetPath?: string | undefined;
    token?: string | undefined;
    commitAction?: "auto" | "update" | "delete" | "create" | "skip" | undefined;
    projectid?: string | undefined;
    removeSourceBranch?: boolean | undefined;
    assignee?: string | undefined;
    reviewers?: string[] | undefined;
    assignReviewersFromApprovalRules?: boolean | undefined;
    labels?: string | string[] | undefined;
}, {
    targetBranchName: string;
    projectid: string;
    projectPath: string;
    mergeRequestUrl: string;
}, "v2">
Parameters
| Parameter | Type | Description | 
|---|---|---|
| options | { integrations: ScmIntegrationRegistry; } | 
import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; title: string; branchName: string; description?: string | undefined; targetBranchName?: string | undefined; sourcePath?: string | undefined; targetPath?: string | undefined; token?: string | undefined; commitAction?: "auto" | "update" | "delete" | "create" | "skip" | undefined; projectid?: string | undefined; removeSourceBranch?: boolean | undefined; assignee?: string | undefined; reviewers?: string[] | undefined; assignReviewersFromApprovalRules?: boolean | undefined; labels?: string | string[] | undefined; }, { targetBranchName: string; projectid: string; projectPath: string; mergeRequestUrl: string; }, "v2">