Skip to content

Commit f579d71

Browse files
committed
chore: improve action.yml clarity and update default values
- Update descriptions for input fields in action.yml for better clarity - Change default values for SSH port and SSH proxy port to string format Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent d87d276 commit f579d71

File tree

1 file changed

+31
-36
lines changed

1 file changed

+31
-36
lines changed

action.yml

Lines changed: 31 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,73 +3,68 @@ description: 'Executing remote ssh commands'
33
author: 'Bo-Yi Wu'
44
inputs:
55
host:
6-
description: 'ssh host'
6+
description: 'SSH host address.'
77
port:
8-
description: 'ssh port'
9-
default: 22
8+
description: 'SSH port number.'
9+
default: "22"
1010
passphrase:
11-
description: 'ssh key passphrase'
11+
description: 'Passphrase for the SSH key.'
1212
username:
13-
description: 'ssh username'
13+
description: 'SSH username.'
1414
password:
15-
description: 'ssh password'
15+
description: 'SSH password.'
1616
sync:
17-
description: 'synchronous execution if multiple hosts'
18-
default: false
17+
description: 'Enable synchronous execution if multiple hosts are involved.'
1918
use_insecure_cipher:
20-
description: 'include more ciphers with use_insecure_cipher'
21-
default: false
19+
description: 'Include more ciphers by using insecure ciphers.'
2220
cipher:
23-
description: 'the allowed cipher algorithms. If unspecified then a sensible'
21+
description: 'Allowed cipher algorithms. If unspecified, a sensible default is used.'
2422
timeout:
25-
description: 'timeout for ssh to host'
23+
description: 'Timeout duration for establishing SSH connection to the host.'
2624
default: "30s"
2725
command_timeout:
28-
description: 'timeout for ssh command'
26+
description: 'Timeout duration for SSH commands execution.'
2927
default: "10m"
3028
key:
31-
description: 'content of ssh private key. ex raw content of ~/.ssh/id_rsa'
29+
description: 'Content of the SSH private key. For example, the raw content of ~/.ssh/id_rsa.'
3230
key_path:
33-
description: 'path of ssh private key'
31+
description: 'Path to the SSH private key file.'
3432
fingerprint:
35-
description: 'sha256 fingerprint of the host public key'
33+
description: 'SHA256 fingerprint of the host public key.'
3634
proxy_host:
37-
description: 'ssh proxy host'
35+
description: 'SSH proxy host address.'
3836
proxy_port:
39-
description: 'ssh proxy port'
40-
default: 22
37+
description: 'SSH proxy port number.'
38+
default: "22"
4139
proxy_username:
42-
description: 'ssh proxy username'
40+
description: 'SSH proxy username.'
4341
proxy_password:
44-
description: 'ssh proxy password'
42+
description: 'SSH proxy password.'
4543
proxy_passphrase:
46-
description: 'ssh proxy key passphrase'
44+
description: 'SSH proxy key passphrase.'
4745
proxy_timeout:
48-
description: 'timeout for ssh to proxy host'
46+
description: 'Timeout duration for establishing SSH connection to the proxy host.'
4947
default: "30s"
5048
proxy_key:
51-
description: 'content of ssh proxy private key. ex raw content of ~/.ssh/id_rsa'
49+
description: 'Content of the SSH proxy private key. For example, the raw content of ~/.ssh/id_rsa.'
5250
proxy_key_path:
53-
description: 'path of ssh proxy private key'
51+
description: 'Path to the SSH proxy private key file.'
5452
proxy_fingerprint:
55-
description: 'sha256 fingerprint of the proxy host public key'
53+
description: 'SHA256 fingerprint of the proxy host public key.'
5654
proxy_cipher:
57-
description: 'the allowed cipher algorithms. If unspecified then a sensible'
55+
description: 'Allowed cipher algorithms for the proxy. If unspecified, a sensible default is used.'
5856
proxy_use_insecure_cipher:
59-
description: 'include more ciphers with use_insecure_cipher'
60-
default: false
57+
description: 'Include more ciphers for the proxy by using insecure ciphers.'
6158
script:
62-
description: 'execute commands'
59+
description: 'Commands to be executed.'
6360
script_stop:
64-
description: 'stop script after first failure'
65-
default: false
61+
description: 'Stop the script after the first failure.'
6662
envs:
67-
description: 'pass environment variable to shell script'
63+
description: 'Environment variables to be passed to the shell script.'
6864
envs_format:
69-
description: 'flexible configuration of environment value transfer'
65+
description: 'Flexible configuration for environment value transfer.'
7066
debug:
71-
description: 'enable debug mode'
72-
default: false
67+
description: 'Enable debug mode.'
7368
runs:
7469
using: 'docker'
7570
image: 'Dockerfile'

0 commit comments

Comments
 (0)