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;
targetPath?: string;
token?: string;
commitAction?: "create" | "delete" | "update";
}, import("@backstage/types").JsonObject, "v1">

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; }

**Returns:**

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