diff --git a/dist/index.js b/dist/index.js index f9d5a30..6b605ac 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2898,12 +2898,7 @@ function getResultsServiceUrl() { } exports.getResultsServiceUrl = getResultsServiceUrl; function isGhes() { - const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); - const hostname = ghUrl.hostname.trimEnd().toUpperCase(); - const isGitHubHost = hostname === 'GITHUB.COM'; - const isGheHost = hostname.endsWith('.GHE.COM'); - const isLocalHost = hostname.endsWith('.LOCALHOST'); - return !isGitHubHost && !isGheHost && !isLocalHost; + return false; } exports.isGhes = isGhes; function getGitHubWorkspaceDir() {