1
0
mirror of https://github.com/actions/checkout.git synced 2026-06-29 18:13:51 +08:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Takuma Ishikawa
2e20629460 Merge 2427e94287 into 8edcb1bdb4 2025-08-08 15:47:28 -04:00
Tingluo Huang
8edcb1bdb4 Update CODEOWNERS for actions (#2224) 2025-07-23 09:20:20 -04:00
nekketsuuu
2427e94287 Use server hostname for org-id-style SSH URLs
GitHub Enterprise Server can show a SSH URLs that includes organization ID, too: https://docs.github.com/en/enterprise-server@3.6/organizations/managing-git-access-to-your-organizations-repositories/about-ssh-certificate-authorities#about-ssh-urls-with-ssh-certificates

Follow-up: ec3a7ce113

🔗 https://github.com/actions/checkout/pull/621
2022-10-10 21:17:14 +09:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
* @actions/actions-launch
* @actions/actions-runtime

View File

@@ -67,7 +67,7 @@ class GitAuthHelper {
this.insteadOfValues.push(`git@${serverUrl.hostname}:`)
if (this.settings.workflowOrganizationId) {
this.insteadOfValues.push(
`org-${this.settings.workflowOrganizationId}@github.com:`
`org-${this.settings.workflowOrganizationId}@${serverUrl.hostname}:`
)
}
}