Skip to main content

createGithubIssuesLabelAction()

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

Adds labels to a pull request or issue on GitHub

Signature:

function createGithubIssuesLabelAction(options: {
integrations: ScmIntegrationRegistry;
githubCredentialsProvider?: GithubCredentialsProvider;
}): import("@backstage/plugin-scaffolder-node").TemplateAction<{
repoUrl: string;
number: number;
labels: string[];
token?: string | undefined;
}, import("@backstage/types").JsonObject>;

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrationRegistry; githubCredentialsProvider?: GithubCredentialsProvider; }

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; number: number; labels: string[]; token?: string | undefined; }, import("@backstage/types").JsonObject>