Patch: disable isGhes() check for Gitea Actions compatibility
This commit is contained in:
Vendored
+1
-1
@@ -2903,7 +2903,7 @@ function isGhes() {
|
|||||||
const isGitHubHost = hostname === 'GITHUB.COM';
|
const isGitHubHost = hostname === 'GITHUB.COM';
|
||||||
const isGheHost = hostname.endsWith('.GHE.COM');
|
const isGheHost = hostname.endsWith('.GHE.COM');
|
||||||
const isLocalHost = hostname.endsWith('.LOCALHOST');
|
const isLocalHost = hostname.endsWith('.LOCALHOST');
|
||||||
return !isGitHubHost && !isGheHost && !isLocalHost;
|
return false;
|
||||||
}
|
}
|
||||||
exports.isGhes = isGhes;
|
exports.isGhes = isGhes;
|
||||||
function getGitHubWorkspaceDir() {
|
function getGitHubWorkspaceDir() {
|
||||||
|
|||||||
Vendored
+1
-1
@@ -2903,7 +2903,7 @@ function isGhes() {
|
|||||||
const isGitHubHost = hostname === 'GITHUB.COM';
|
const isGitHubHost = hostname === 'GITHUB.COM';
|
||||||
const isGheHost = hostname.endsWith('.GHE.COM');
|
const isGheHost = hostname.endsWith('.GHE.COM');
|
||||||
const isLocalHost = hostname.endsWith('.LOCALHOST');
|
const isLocalHost = hostname.endsWith('.LOCALHOST');
|
||||||
return !isGitHubHost && !isGheHost && !isLocalHost;
|
return false;
|
||||||
}
|
}
|
||||||
exports.isGhes = isGhes;
|
exports.isGhes = isGhes;
|
||||||
function getGitHubWorkspaceDir() {
|
function getGitHubWorkspaceDir() {
|
||||||
|
|||||||
Reference in New Issue
Block a user