Skip to main content

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: github.CreateGithubPullRequestActionOptions) => import("@backstage/plugin-scaffolder-node").TemplateAction<{
title: string;
branchName: string;
targetBranchName?: string | undefined;
description: string;
repoUrl: string;
draft?: boolean | undefined;
targetPath?: string | undefined;
sourcePath?: string | undefined;
token?: string | undefined;
reviewers?: string[] | undefined;
teamReviewers?: string[] | undefined;
commitMessage?: string | undefined;
update?: boolean | undefined;
forceFork?: boolean | undefined;
gitAuthorName?: string | undefined;
gitAuthorEmail?: string | undefined;
forceEmptyGitAuthor?: boolean | undefined;
}, import("@backstage/types").JsonObject>

Parameters

Parameter

Type

Description

options

github.CreateGithubPullRequestActionOptions

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ title: string; branchName: string; targetBranchName?: string | undefined; description: string; repoUrl: string; draft?: boolean | undefined; targetPath?: string | undefined; sourcePath?: string | undefined; token?: string | undefined; reviewers?: string[] | undefined; teamReviewers?: string[] | undefined; commitMessage?: string | undefined; update?: boolean | undefined; forceFork?: boolean | undefined; gitAuthorName?: string | undefined; gitAuthorEmail?: string | undefined; forceEmptyGitAuthor?: boolean | undefined; }, import("@backstage/types").JsonObject>