mirror of
https://code.forgejo.org/actions/checkout.git
synced 2026-02-04 08:31:43 +00:00
Merge 1521eda098 into 0c366fd6a8
This commit is contained in:
commit
263d496d16
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ class GitAuthHelper {
|
||||||
// Instead of SSH URL
|
// Instead of SSH URL
|
||||||
this.insteadOfKey = `url.${serverUrl.origin}/.insteadOf` // "origin" is SCHEME://HOSTNAME[:PORT]
|
this.insteadOfKey = `url.${serverUrl.origin}/.insteadOf` // "origin" is SCHEME://HOSTNAME[:PORT]
|
||||||
this.insteadOfValues.push(`git@${serverUrl.hostname}:`)
|
this.insteadOfValues.push(`git@${serverUrl.hostname}:`)
|
||||||
|
this.insteadOfValues.push(`ssh://git@${serverUrl.hostname}/`)
|
||||||
if (this.settings.workflowOrganizationId) {
|
if (this.settings.workflowOrganizationId) {
|
||||||
this.insteadOfValues.push(
|
this.insteadOfValues.push(
|
||||||
`org-${this.settings.workflowOrganizationId}@github.com:`
|
`org-${this.settings.workflowOrganizationId}@github.com:`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue