mirror of
https://github.com/webfactory/ssh-agent.git
synced 2026-03-13 14:59:07 +08:00
Node v20 is going to be EOL in April 2026 -- https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/ Resolves #242
31 lines
843 B
YAML
31 lines
843 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
|
|
ssh-agent-cmd:
|
|
description: 'ssh-agent command'
|
|
required: false
|
|
ssh-add-cmd:
|
|
description: 'ssh-add command'
|
|
required: false
|
|
git-cmd:
|
|
description: 'git command'
|
|
required: false
|
|
runs:
|
|
using: 'node24'
|
|
main: 'dist/index.js'
|
|
post: 'dist/cleanup.js'
|
|
post-if: 'always()'
|
|
|
|
branding:
|
|
icon: loader
|
|
color: 'yellow'
|