Update genfiles

This commit is contained in:
Cory Miller 2024-04-18 19:15:40 +00:00
parent 9acec543f2
commit eb237700fe
2 changed files with 2 additions and 1 deletions

View file

@ -64,6 +64,7 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
# The user to use when connecting to the remote SSH host. By default 'git' is
# used.
# Default: git
ssh-user: ''
# Whether to configure the token or SSH key with the local git config

2
dist/index.js vendored
View file

@ -2401,7 +2401,7 @@ function getFetchUrl(settings) {
const encodedOwner = encodeURIComponent(settings.repositoryOwner);
const encodedName = encodeURIComponent(settings.repositoryName);
if (settings.sshKey) {
let user = settings.sshUser.length > 0 ? settings.sshUser : 'git';
const user = settings.sshUser.length > 0 ? settings.sshUser : 'git';
return `${user}@${serviceUrl.hostname}:${encodedOwner}/${encodedName}.git`;
}
// "origin" is SCHEME://HOSTNAME[:PORT]