-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working on Windows: "Not treating it as a GitHub deploy key" #130
Comments
@mpdude ? |
The error message refers to https://github.com/webfactory/ssh-agent#support-for-github-deploy-keys |
@sebastiankugler , I've read that section two or three times and still don't understand what specifically is going wrong. The public part of the ssh key I created I put in the Deploy Keys section of the repo I am trying to clone. I used this command This is a StackOverflow link that explains the entirety of the problem. Maybe it's helpful to you: https://stackoverflow.com/questions/73775185/not-treating-it-as-a-github-deploy-key |
I'm having the same issue: Comment for (public) key '' does not match GitHub URL pattern. Not treating it as a GitHub deploy key. Where: Please make sure you have the correct access rights |
I also get the same issue. I use docker and forward the ssh with |
@sebastiankugler, @mpdude, @MalteWunsch After discussing in this issue (actions/checkout#928 (comment)), I finally got it to work when I ran on ubuntu-latest instaed of windows-latest. This shows that there is an issue with this package on Windows. Can this be investigated, please? |
@sfullerbeckman could you please check if #137 solves the issue for you? |
#137 hopefully resolved an issue with Windows-based runners not finding the right There is a remaining issue that when using |
@mpdude , doing the submodule initialization manually at a later step and putting webfactory/ssh-agent after actions/checkout does work for the time being. Thank you. |
Closing this issue since this #130 (comment) provided an answer for what I need at the time being. Other problems are captured in other issues. |
See comment below for updated bug information: #130 (comment)
Old...
I am adding the below private key, which is stored in the repo's secrets. The corresponding public key is found as a deploy key in another repo within the same private Github organization. Below is the yaml where I am trying to install my private key.
When this is run, I get this.
What doest that last line mean? Does this mean that something went wrong? It looks like it thinks the public key is empty based on the empty quotes?
The text was updated successfully, but these errors were encountered: