renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
9 lines (8 loc) • 706 B
TypeScript
import type { PackageFileContent } from '../modules/manager/types';
import type { CombinedHostRule } from '../types';
export declare function checkGithubToken(packageFiles?: Record<string, PackageFileContent[]>): void;
export declare function isGithubPersonalAccessToken(token: string): boolean;
export declare function isGithubServerToServerToken(token: string): boolean;
export declare function isGithubFineGrainedPersonalAccessToken(token: string): boolean;
export declare function findGithubToken(searchResult: CombinedHostRule): string | undefined;
export declare function takePersonalAccessTokenIfPossible(githubToken: string | undefined, gitTagsGithubToken: string | undefined): string | undefined;