fbef2c7bd0
This commit adds the new `log-public-key` action input. Closes #122 (contains the suggested changes plus a few tweaks and documentation), fixes #100. Co-authored-by: Matthias Pigulla <mp@webfactory.de>
20 lines
606 B
YAML
20 lines
606 B
YAML
name: 'webfactory/ssh-agent'
|
|
description: 'Run `ssh-agent` and load an SSH key to access other private repositories'
|
|
inputs:
|
|
ssh-private-key:
|
|
description: 'Private SSH key to register in the SSH agent'
|
|
required: true
|
|
ssh-auth-sock:
|
|
description: 'Where to place the SSH Agent auth socket'
|
|
log-public-key:
|
|
description: 'Whether or not to log public key fingerprints'
|
|
required: false
|
|
default: true
|
|
runs:
|
|
using: 'node16'
|
|
main: 'dist/index.js'
|
|
post: 'dist/cleanup.js'
|
|
post-if: 'always()'
|
|
branding:
|
|
icon: loader
|
|
color: 'yellow'
|