You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing a grep on the faulty key (fffb0082e1157c90572...) I saw an entry in /home/github/.gitconfig, in the system user that does the runner. It looks like data persists from the other workflow that conflicts with this one.
After removing the file the job succeeds.
Can I use a local and temporary folder specific to each workflow instead of the system user home directory?
However, this does not change the location of the key files, they will still end up in /home/github/.ssh.
But the .gitconfig file will now be placed under the job temp directory. And this seems to work.
I have setup a self hosted runner on Linux for my Github workflow and I am using ssh-agent to provide access to private repos dependencies.
On
git clone ...
I get an error:But in the
webfactory/ssh-agent
step before the clone I see the following output:Both keys have a different identity than mentioned on the error. Is this maybe a caching problem?
Relevant workflow job:
I already use the same runner another repository's CI with ssh-agent with success.
The text was updated successfully, but these errors were encountered: