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