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

This commit is contained in:
lucasdpt
2026-04-04 19:58:37 +02:00
parent 484a0b528f
commit e03aff3e03

2
dist/index.js vendored
View File

@@ -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'];