1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-04-24 05:19:53 +02:00

Add SSH user parameter (#1685)

* Add a configurable SSH user

* Update docs with param

* Indentation of readme

* formatting woes

* Update src/url-helper.ts

Co-authored-by: Josh Gross <joshmgross@github.com>

* Update action.yml

Co-authored-by: Josh Gross <joshmgross@github.com>

* Update genfiles

---------

Co-authored-by: Josh Gross <joshmgross@github.com>
This commit is contained in:
Cory Miller 2024-04-18 15:29:55 -04:00 committed by GitHub
parent cd7d8d697e
commit 1d96c772d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 21 additions and 2 deletions

View file

@ -45,6 +45,10 @@ inputs:
and `CheckHostIP=no` to the SSH command line. Use the input `ssh-known-hosts` to
configure additional hosts.
default: true
ssh-user:
description: >
The user to use when connecting to the remote SSH host. By default 'git' is used.
default: git
persist-credentials:
description: 'Whether to configure the token or SSH key with the local git config'
default: true