Skip to main content
Version: Next

createGithubAutolinksAction()

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

Create an autolink reference for a repository

Signature:

function createGithubAutolinksAction(options: {
integrations: ScmIntegrations;
githubCredentialsProvider?: GithubCredentialsProvider;
}): import("@backstage/plugin-scaffolder-node").TemplateAction<{
repoUrl: string;
keyPrefix: string;
urlTemplate: string;
isAlphanumeric?: boolean | undefined;
token?: string | undefined;
}, import("@backstage/types").JsonObject>;

Parameters

Parameter

Type

Description

options

{ integrations: ScmIntegrations; githubCredentialsProvider?: GithubCredentialsProvider; }

**Returns:**

import("@backstage/plugin-scaffolder-node").TemplateAction<{ repoUrl: string; keyPrefix: string; urlTemplate: string; isAlphanumeric?: boolean | undefined; token?: string | undefined; }, import("@backstage/types").JsonObject>