feat: update dist to remove ghes check
Some checks failed
Check dist/ / check-dist (push) Successful in 1m33s
Licensed / Check licenses (push) Failing after 1m8s
Test / Build (ubuntu-latest) (push) Failing after 3m6s
Test / Build (macos-latest) (push) Has been cancelled
Test / Build (windows-latest) (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Failing after 1h13m45s
Some checks failed
Check dist/ / check-dist (push) Successful in 1m33s
Licensed / Check licenses (push) Failing after 1m8s
Test / Build (ubuntu-latest) (push) Failing after 3m6s
Test / Build (macos-latest) (push) Has been cancelled
Test / Build (windows-latest) (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Failing after 1h13m45s
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -80619,7 +80619,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;
|
||||||
}
|
}
|
||||||
function getGitHubWorkspaceDir() {
|
function getGitHubWorkspaceDir() {
|
||||||
const ghWorkspaceDir = process.env['GITHUB_WORKSPACE'];
|
const ghWorkspaceDir = process.env['GITHUB_WORKSPACE'];
|
||||||
|
|||||||
Reference in New Issue
Block a user