3
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2026-07-28 06:32:54 +00:00
This commit is contained in:
herrernst 2026-07-20 23:41:19 +01:00 committed by GitHub
commit 7d2c24c11f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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:`