Skip to main content
Version: Next

createPublishGitlabMergeRequestAction()

Home > @backstage/plugin-scaffolder-backend > createPublishGitlabMergeRequestAction

Warning: This API is now obsolete.

use import from @backstage/plugin-scaffolder-backend-module-gitlab instead

Signature:

createPublishGitlabMergeRequestAction: (options: {
integrations: import("@backstage/integration").ScmIntegrationRegistry;
}) => import("@backstage/plugin-scaffolder-node").TemplateAction<{
repoUrl: string;
title: string;
description: string;
branchName: string;
targetBranchName?: string;
sourcePath?: string;
targetPath?: string;
token?: string;
commitAction?: "create" | "delete" | "update" | "skip" | "auto";
projectid?: string;
removeSourceBranch?: boolean;
assignee?: string;
reviewers?: string[];
assignReviewersFromApprovalRules?: boolean;
}, import("@backstage/types").JsonObject, "v1">

Parameters

Parameter

Type

Description

options

{ integrations: import("@backstage/integration").ScmIntegrationRegistry; }

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; title: string; description: string; branchName: string; targetBranchName?: string; sourcePath?: string; targetPath?: string; token?: string; commitAction?: "create" | "delete" | "update" | "skip" | "auto"; projectid?: string; removeSourceBranch?: boolean; assignee?: string; reviewers?: string[]; assignReviewersFromApprovalRules?: boolean; }, import("@backstage/types").JsonObject, "v1">