mirror of
https://github.com/actions/checkout.git
synced 2026-06-19 18:57:20 +08:00
Merge 1521eda0980670fc4dbeb08b12623d46b388d725 into df4cb1c069e1874edd31b4311f1884172cec0e10
This commit is contained in:
commit
948bc074c3
@ -66,6 +66,7 @@ class GitAuthHelper {
|
||||
// Instead of SSH URL
|
||||
this.insteadOfKey = `url.${serverUrl.origin}/.insteadOf` // "origin" is SCHEME://HOSTNAME[:PORT]
|
||||
this.insteadOfValues.push(`git@${serverUrl.hostname}:`)
|
||||
this.insteadOfValues.push(`ssh://git@${serverUrl.hostname}/`)
|
||||
if (this.settings.workflowOrganizationId) {
|
||||
this.insteadOfValues.push(
|
||||
`org-${this.settings.workflowOrganizationId}@github.com:`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user