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 | undefined;
sourcePath?: string | undefined;
gitCommitMessage?: string | undefined;
gitAuthorName?: string | undefined;
gitAuthorEmail?: string | undefined;
}, import("@backstage/types").JsonObject>;
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
{ integrations: ScmIntegrationRegistry; config: Config; } |
import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; branch?: string | undefined; sourcePath?: string | undefined; gitCommitMessage?: string | undefined; gitAuthorName?: string | undefined; gitAuthorEmail?: string | undefined; }, import("@backstage/types").JsonObject>