From 75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 Mon Sep 17 00:00:00 2001 From: ChristopherHX Date: Mon, 22 Jan 2024 11:45:36 +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 fc7187a..0b08c35 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2698,8 +2698,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() {