Skip to main content

createGitlabRepoPushAction()

Home > @backstage/plugin-scaffolder-backend-module-gitlab > createGitlabRepoPushAction

Create a new action that commits into a gitlab repository.

Signature:

createGitlabRepoPushAction: (options: {
integrations: ScmIntegrationRegistry;
}) => import("@backstage/plugin-scaffolder-node").TemplateAction<{
repoUrl: string;
branchName: string;
commitMessage: string;
sourcePath?: string | undefined;
targetPath?: string | undefined;
token?: string | undefined;
commitAction?: "update" | "delete" | "create" | undefined;
}, import("@backstage/types").JsonObject>

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; }

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; branchName: string; commitMessage: string; sourcePath?: string | undefined; targetPath?: string | undefined; token?: string | undefined; commitAction?: "update" | "delete" | "create" | undefined; }, import("@backstage/types").JsonObject>