mirror of
https://github.com/webfactory/ssh-agent.git
synced 2024-11-24 01:58:01 +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.
20 lines
745 B
JSON
20 lines
745 B
JSON
{
|
|
"name": "webfactory-action-ssh-agent",
|
|
"version": "0.1.0",
|
|
"lockfileVersion": 1,
|
|
"requires": true,
|
|
"dependencies": {
|
|
"@actions/core": {
|
|
"version": "1.2.4",
|
|
"resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.4.tgz",
|
|
"integrity": "sha512-YJCEq8BE3CdN8+7HPZ/4DxJjk/OkZV2FFIf+DlZTC/4iBlzYCD5yjRR6eiOS5llO11zbRltIRuKAjMKaWTE6cg==",
|
|
"dev": true
|
|
},
|
|
"@zeit/ncc": {
|
|
"version": "0.20.5",
|
|
"resolved": "https://registry.npmjs.org/@zeit/ncc/-/ncc-0.20.5.tgz",
|
|
"integrity": "sha512-XU6uzwvv95DqxciQx+aOLhbyBx/13ky+RK1y88Age9Du3BlA4mMPCy13BGjayOrrumOzlq1XV3SD/BWiZENXlw==",
|
|
"dev": true
|
|
}
|
|
}
|
|
}
|