1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-30 07:19:55 +02: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 =