1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-07-07 20:22:54 +00:00

Add a configurable SSH user

This commit is contained in:
Cory Miller 2024-04-18 14:48:58 +00:00
parent cd7d8d697e
commit 4fbc953ab8
5 changed files with 12 additions and 2 deletions

View file

@ -143,6 +143,7 @@ export async function getInputs(): Promise<IGitSourceSettings> {
result.sshKnownHosts = core.getInput('ssh-known-hosts')
result.sshStrict =
(core.getInput('ssh-strict') || 'true').toUpperCase() === 'TRUE'
result.sshUser = core.getInput('ssh-user')
// Persist credentials
result.persistCredentials =