2019-09-14 18:28:16 -04:00
|
|
|
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
|
2024-10-20 10:09:00 -04:00
|
|
|
instance-urls:
|
|
|
|
description: |-
|
|
|
|
URL(s) of the Forgejo instance to use. Due to limitations with Forgejo Actions inputs, this is specified as a string.
|
|
|
|
|
|
|
|
You can specify multiple instance URLs by putting each one on a separate line.
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
secrets: |-
|
|
|
|
forgejo.org
|
|
|
|
codeberg.org
|
|
|
|
```
|
|
|
|
required: false
|
|
|
|
default: 'forgejo.org'
|
2019-09-14 18:28:16 -04:00
|
|
|
ssh-auth-sock:
|
|
|
|
description: 'Where to place the SSH Agent auth socket'
|
2022-10-19 06:41:11 -04:00
|
|
|
log-public-key:
|
|
|
|
description: 'Whether or not to log public key fingerprints'
|
|
|
|
required: false
|
|
|
|
default: true
|
2023-01-27 12:09:18 -05:00
|
|
|
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
|
2019-09-14 18:28:16 -04:00
|
|
|
runs:
|
2024-02-06 04:26:21 -05:00
|
|
|
using: 'node20'
|
2019-09-14 18:28:16 -04:00
|
|
|
main: 'dist/index.js'
|
2020-05-18 03:08:29 -04:00
|
|
|
post: 'dist/cleanup.js'
|
2021-06-02 16:15:05 -04:00
|
|
|
post-if: 'always()'
|
2024-02-06 04:26:21 -05:00
|
|
|
|
2019-09-14 18:28:16 -04:00
|
|
|
branding:
|
2019-09-14 18:33:18 -04:00
|
|
|
icon: loader
|
2019-09-14 18:28:16 -04:00
|
|
|
color: 'yellow'
|