GHES 3.1 has been deprecated end of June 2022.

Therefore, we do not need to support the workaround for
action telemetry anymore.
This commit is contained in:
Cornelius Riemenschneider 2022-10-18 14:20:52 +02:00
parent 96c8872f06
commit f3a27d6945
9 changed files with 4 additions and 70 deletions

View file

@ -605,16 +605,6 @@ export function isHTTPError(arg: any): arg is HTTPError {
return arg?.status !== undefined && Number.isInteger(arg.status);
}
export function isGitHubGhesVersionBelow(
gitHubVersion: GitHubVersion,
expectedVersion: string
): boolean {
return (
gitHubVersion.type === GitHubVariant.GHES &&
semver.lt(gitHubVersion.version, expectedVersion)
);
}
let cachedCodeQlVersion: undefined | string = undefined;
export function cacheCodeQlVersion(version: string): void {