Skip to main content

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;
description: string;
branchName: string;
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;
}, import("@backstage/types").JsonObject>

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; }

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; title: string; description: string; branchName: string; 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; }, import("@backstage/types").JsonObject>