diff --git a/dist/index.js b/dist/index.js index fe3f317..9a648b6 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2730,8 +2730,7 @@ function getFetchUrl(settings) { const user = settings.sshUser.length > 0 ? settings.sshUser : 'git'; return `${user}@${serviceUrl.hostname}:${encodedOwner}/${encodedName}.git`; } - // "origin" is SCHEME://HOSTNAME[:PORT] - return `${serviceUrl.origin}/${encodedOwner}/${encodedName}`; + return `${serviceUrl}/${encodedOwner}/${encodedName}`; } function getServerUrl(url) { let resolvedUrl = process.env['GITHUB_SERVER_URL'] || 'https://github.com';