Skip to main content

createGithubIssuesCreateAction()

Home > @backstage/plugin-scaffolder-backend-module-github > createGithubIssuesCreateAction

Creates an issue on GitHub

Signature:

function createGithubIssuesCreateAction(options: {
integrations: ScmIntegrationRegistry;
githubCredentialsProvider?: GithubCredentialsProvider;
}): import("@backstage/plugin-scaffolder-node").TemplateAction<{
repoUrl: string;
title: string;
body?: string | undefined;
assignees?: string[] | undefined;
milestone?: string | number | undefined;
labels?: string[] | undefined;
token?: string | undefined;
}, {
issueUrl: string;
issueNumber: number;
}, "v2">;

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; githubCredentialsProvider?: GithubCredentialsProvider; }

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; title: string; body?: string | undefined; assignees?: string[] | undefined; milestone?: string | number | undefined; labels?: string[] | undefined; token?: string | undefined; }, { issueUrl: string; issueNumber: number; }, "v2">