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;
}, {
projectid: string;
projectPath: string;
commitHash: string;
}, "v2">
Parameters
Parameter |
Type |
Description |
---|---|---|
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; }, { projectid: string; projectPath: string; commitHash: string; }, "v2">