Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src/input-helper.ts
diff options
context:
space:
mode:
authorCory Miller <13227161+cory-miller@users.noreply.github.com>2024-04-18 15:29:55 -0400
committerGitHub <noreply@github.com>2024-04-18 15:29:55 -0400
commit4633477603c1d5195d6b3e1a1a30626d2b3e50d3 (patch)
treedb24c9dc37c93f81aa1b42fae3f79b0dd6647db5 /src/input-helper.ts
parent5cbfe54ddccb7aa81f873dab834f0c6d84fe3682 (diff)
Add SSH user parameter (#1685)v4.1.3
* 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>
Diffstat (limited to 'src/input-helper.ts')
-rw-r--r--src/input-helper.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input-helper.ts b/src/input-helper.ts
index e546c19..e230a55 100644
--- a/src/input-helper.ts
+++ b/src/input-helper.ts
@@ -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 =