mirror of
https://gitea.com/actions/checkout.git
synced 2026-12-04 09:59:08 +08:00
Verify SSH pins against the workflow server
SSH fetch URLs keep only the hostname of github-server-url, so a port or scheme change no longer skips workflow history verification. Verification always uses the workflow's API endpoint. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
f38dcf9239
commit
15c98b676d
4 files changed
+59
-16
No files matched your search
+2
-1
@@ -197,7 +197,8 @@ export async function getInputs(): Promise<IGitSourceSettings> {
|
||||
ref: result.ref,
|
||||
commit: result.commit,
|
||||
allowUnsafePrCheckout: result.allowUnsafePrCheckout,
|
||||
githubServerUrl: result.githubServerUrl
|
||||
githubServerUrl: result.githubServerUrl,
|
||||
usesSsh: !!result.sshKey
|
||||
},
|
||||
result.authToken
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user