mirror of
https://github.com/actions/checkout.git
synced 2026-12-04 12:40:03 +00: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:
co-authored by
Copilot App
parent
b1df8e93a6
commit
a12225cd31
+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