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:
Francesco Renzi
2026-12-03 18:32:07 +01:00
co-authored by Copilot App
parent b1df8e93a6
commit a12225cd31
4 changed files with 59 additions and 16 deletions
+2 -1
View File
@@ -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
)