Patch: disable isGhes() check for Gitea Actions compatibility

This commit is contained in:
octopus
2026-06-20 16:37:32 +08:00
parent c90e451339
commit bef833be4b
+1 -1
View File
@@ -2903,7 +2903,7 @@ function isGhes() {
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() {