From 81f940d004763f986ba3582c007fd842dd5cb0d7 Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Mon, 22 Jan 2024 11:42:57 +0100 Subject: [PATCH] disable ghes no support check --- dist/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 4a0e9c2..1acca9b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3023,8 +3023,7 @@ function getResultsServiceUrl() { } exports.getResultsServiceUrl = getResultsServiceUrl; function isGhes() { - const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); - return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM'; + return false; } exports.isGhes = isGhes; function getGitHubWorkspaceDir() {