Skip to content

Commit 227ee32

Browse files
committed
chore: rebuild dist/index.js after rebasing onto upstream main
1 parent cf4d457 commit 227ee32

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

dist/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35063,7 +35063,10 @@ class GitAuthHelper {
3506335063
this.tokenConfigValue = `AUTHORIZATION: basic ${basicCredential}`;
3506435064
// Instead of SSH URL
3506535065
this.insteadOfKey = `url.${serverUrl.origin}/.insteadOf`; // "origin" is SCHEME://HOSTNAME[:PORT]
35066-
this.insteadOfValues.push(`git@${serverUrl.hostname}:`);
35066+
const sshUser = this.settings.sshUser && this.settings.sshUser.length > 0
35067+
? this.settings.sshUser
35068+
: 'git';
35069+
this.insteadOfValues.push(`${sshUser}@${serverUrl.hostname}:`);
3506735070
if (this.settings.workflowOrganizationId) {
3506835071
this.insteadOfValues.push(`org-${this.settings.workflowOrganizationId}@github.com:`);
3506935072
}

0 commit comments

Comments
 (0)