Patch: disable isGhes() check for Gitea Actions compatibility

这个提交包含在:
octopus
2026-06-20 16:37:31 +08:00
父节点 14990e71eb
当前提交 0c89dbe8a6
共修改 2 个文件,包含 2 行新增和 2 行删除
第三方依赖
+1 -1
查看文件
@@ -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() {
第三方依赖
+1 -1
查看文件
@@ -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() {