mirror of
https://github.com/actions/checkout.git
synced 2026-07-07 09:34:40 +00:00
chore: rebuild dist/index.js after rebasing onto upstream main
This commit is contained in:
parent
cf4d457ccf
commit
227ee32e4d
5
dist/index.js
vendored
5
dist/index.js
vendored
|
|
@ -35063,7 +35063,10 @@ class GitAuthHelper {
|
|||
this.tokenConfigValue = `AUTHORIZATION: basic ${basicCredential}`;
|
||||
// Instead of SSH URL
|
||||
this.insteadOfKey = `url.${serverUrl.origin}/.insteadOf`; // "origin" is SCHEME://HOSTNAME[:PORT]
|
||||
this.insteadOfValues.push(`git@${serverUrl.hostname}:`);
|
||||
const sshUser = this.settings.sshUser && this.settings.sshUser.length > 0
|
||||
? this.settings.sshUser
|
||||
: 'git';
|
||||
this.insteadOfValues.push(`${sshUser}@${serverUrl.hostname}:`);
|
||||
if (this.settings.workflowOrganizationId) {
|
||||
this.insteadOfValues.push(`org-${this.settings.workflowOrganizationId}@github.com:`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue