CreateGithubPullRequestActionOptions
Home > @backstage/plugin-scaffolder-backend-module-github
> CreateGithubPullRequestActionOptions
The options passed to createPublishGithubPullRequestAction() method
Signature:
export interface CreateGithubPullRequestActionOptions
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
(input: { integrations: ScmIntegrationRegistry; githubCredentialsProvider?: GithubCredentialsProvider; host: string; owner: string; repo: string; token?: string; }) => Promise<Octokit & { createPullRequest(options: createPullRequest.Options): Promise<{ data: { html_url: string; number: number; base: { ref: string; }; }; } | null>; }> |
(Optional) A method to return the Octokit client with the Pull Request Plugin. | ||
(Optional) An instance of Config that will be used in the action. | |||
(Optional) An instance of GithubCredentialsProvider that will be used to get credentials for the action. | |||
An instance of ScmIntegrationRegistry that will be used in the action. |