Reuse host's SSH agent if SSH_AUTH_SOCK
is set
#660
Unanswered
ZauberNerd
asked this question in
Ideas
Replies: 1 comment 1 reply
-
Ping @ericsciple @ethomson @TingluoHuang as you seem to be fairly active / members of the actions org. Any thoughts on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm wondering whether a PR for this feature would be accepted?
I understand that this is quite an edge-case, as the regular GitHub runners, do not have an SSH agent running and since the
actions/checkout
action accepts an SSH private key, it wouldn't be of much use to most users.In my case I want to be able to use
act
without having to supply a personal access token and I have my SSH key on a hardware key, so even if I wanted to, I couldn't supply it to the checkout action.Another use-case I can think of might be custom GitHub runners, which could set-up an
ssh-agent
beforehand, although I'm not using custom runners and don't know off the top of my head, if that would make sense.So basically the feature would work as follows:
SSH_AUTH_SOCK
is setssh://git@github.com/owner/repo.git
In case such a PR would be accepted, I could look into implementing it, but I wanted to get feedback first.
Beta Was this translation helpful? Give feedback.
All reactions