createPublishGithubPullRequestAction()
Home > @backstage/plugin-scaffolder-backend
> createPublishGithubPullRequestAction
Warning: This API is now obsolete.
use import from
@backstage/plugin-scaffolder-backend-module-github
instead
Signature:
createPublishGithubPullRequestAction: (options: GithubPullRequestActionOptions) => import("@backstage/plugin-scaffolder-node").TemplateAction<{
title: string;
branchName: string;
targetBranchName?: string;
description: string;
repoUrl: string;
draft?: boolean;
targetPath?: string;
sourcePath?: string;
token?: string;
reviewers?: string[];
teamReviewers?: string[];
commitMessage?: string;
update?: boolean;
forceFork?: boolean;
gitAuthorName?: string;
gitAuthorEmail?: string;
forceEmptyGitAuthor?: boolean;
createWhenEmpty?: boolean;
}, import("@backstage/types").JsonObject, "v1">
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
import("@backstage/plugin-scaffolder-node").TemplateAction<{ title: string; branchName: string; targetBranchName?: string; description: string; repoUrl: string; draft?: boolean; targetPath?: string; sourcePath?: string; token?: string; reviewers?: string[]; teamReviewers?: string[]; commitMessage?: string; update?: boolean; forceFork?: boolean; gitAuthorName?: string; gitAuthorEmail?: string; forceEmptyGitAuthor?: boolean; createWhenEmpty?: boolean; }, import("@backstage/types").JsonObject, "v1">