mirror of
https://github.com/webfactory/ssh-agent.git
synced 2024-11-21 16:50:50 +00:00
4fcb25e7ef
Thanks to @thommyhh for this contribution! Unless the `SSH_AUTH_SOCK` is configured explicitly, this change will make the SSH agent use a random file name for the socket. That way, multiple, concurrent SSH agents can be used on non-ephemeral, self-hosted runners. A new post-action step will automatically clean up the running agent at the end of a job. Be aware of the possible security implications: Two jobs running on the same runner might be able to access each other's socket and thus access repositories and/or hosts.
16 lines
473 B
JSON
16 lines
473 B
JSON
{
|
|
"name": "webfactory-action-ssh-agent",
|
|
"repository": "git@github.com:webfactory/ssh-agent.git",
|
|
"description": "GitHub Action to set up ssh-agent with a private SSH key",
|
|
"version": "0.1.0",
|
|
"main": "index.js",
|
|
"author": "webfactory GmbH <info@webfactory.de>",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@actions/core": "^1.2.4",
|
|
"@zeit/ncc": "^0.20.5"
|
|
},
|
|
"scripts": {
|
|
"build": "node scripts/build.js"
|
|
}
|
|
}
|