Skip to main content

createPublishGerritReviewAction()

Home > @backstage/plugin-scaffolder-backend-module-gerrit > createPublishGerritReviewAction

Creates a new action that creates a Gerrit review

Signature:

function createPublishGerritReviewAction(options: {
integrations: ScmIntegrationRegistry;
config: Config;
}): import("@backstage/plugin-scaffolder-node").TemplateAction<{
repoUrl: string;
branch?: string;
sourcePath?: string;
gitCommitMessage?: string;
gitAuthorName?: string;
gitAuthorEmail?: string;
signCommit?: boolean;
}, import("@backstage/types").JsonObject, "v1">;

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; config: Config; }

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; branch?: string; sourcePath?: string; gitCommitMessage?: string; gitAuthorName?: string; gitAuthorEmail?: string; signCommit?: boolean; }, import("@backstage/types").JsonObject, "v1">