We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf4d457 commit 227ee32Copy full SHA for 227ee32
1 file changed
dist/index.js
@@ -35063,7 +35063,10 @@ class GitAuthHelper {
35063
this.tokenConfigValue = `AUTHORIZATION: basic ${basicCredential}`;
35064
// Instead of SSH URL
35065
this.insteadOfKey = `url.${serverUrl.origin}/.insteadOf`; // "origin" is SCHEME://HOSTNAME[:PORT]
35066
- this.insteadOfValues.push(`git@${serverUrl.hostname}:`);
+ const sshUser = this.settings.sshUser && this.settings.sshUser.length > 0
35067
+ ? this.settings.sshUser
35068
+ : 'git';
35069
+ this.insteadOfValues.push(`${sshUser}@${serverUrl.hostname}:`);
35070
if (this.settings.workflowOrganizationId) {
35071
this.insteadOfValues.push(`org-${this.settings.workflowOrganizationId}@github.com:`);
35072
}
0 commit comments