From fe90c7bf94eb53541e729f659044d3cac36f05d8 Mon Sep 17 00:00:00 2001 From: Alexander Mirgorod Date: Mon, 30 Sep 2024 18:19:37 +0300 Subject: [PATCH] add instance-domain option --- README.md | 1 + action.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3028201..28bc42a 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ To support picking the right key in this use case, this action scans _key commen The following inputs can be used to control the action's behavior: +* `instance-domain`: Optional. The domain name of the github/gitea/forgejo instance. Defaults to `github.com`. * `ssh-private-key`: Required. Use this to provide the key(s) to load as GitHub Actions secrets. * `ssh-auth-sock`: Can be used to control where the SSH agent socket will be placed. Ultimately affects the `$SSH_AUTH_SOCK` environment variable. * `log-public-key`: Set this to `false` if you want to suppress logging of _public_ key information. To simplify debugging and since it contains public key information only, this is turned on by default. diff --git a/action.yml b/action.yml index eb3c506..54bf2e0 100644 --- a/action.yml +++ b/action.yml @@ -2,7 +2,7 @@ name: 'webfactory/ssh-agent' description: 'Run `ssh-agent` and load an SSH key to access other private repositories' inputs: instance-domain: - description: 'Domain name of the instance (gitea/forgejo)' + description: 'Domain name of the github/gitea/forgejo instance' required: false ssh-private-key: description: 'Private SSH key to register in the SSH agent'