question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Comment for (public) key does not match GitHub URL pattern

See original GitHub issue

I get this comment at the the end of the action:

Comment for (public) key 'ssh-ed25519 <redacted>' does not match GitHub URL pattern. Not treating it as a GitHub deploy key.
Comment for (public) key '' does not match GitHub URL pattern. Not treating it as a GitHub deploy key.

Is this a bug? What does it mean?

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:11
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mpdudecommented, Sep 1, 2022

@Smarker

Added deploy-key mapping: Use identity '/home/runner/.ssh/key-<redacted>' for GitHub repository ProjectAussie/pawsit-sdk

That worked for you, the key should be used for the repo you gave in the key comment.

Comment for (public) key '' does not match GitHub URL pattern. Not treating it as a GitHub deploy key.

That’s the glitch, ignore it for now.

1reaction
mpdudecommented, Sep 1, 2022

It has to do with deployment key mappings, which are described in https://github.com/webfactory/ssh-agent#using-multiple-keys and https://github.com/webfactory/ssh-agent#support-for-github-deploy-keys.

Comment for (public) key 'ssh-ed25519 <redacted>' does not match GitHub URL pattern. Not treating it as a GitHub deploy key.

This means that key had a key comment, but it does not look like a GitHub repository URL. So, no special configuration is created to make sure this particular key is being used when cloning this particular repo.

It’s an informational message intended to help when setting up deployment key mappings.

Comment for (public) key '' does not match GitHub URL pattern. Not treating it as a GitHub deploy key.

That must be a glitch when we go through key comments. Maybe a trailing blank line that was not stripped correctly? Happy to accept patches 😃.

If that answers your question, please close the issue.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploy key not "treated as deploy key" #73 - GitHub
No matter what, I get this error: Comment for key '' does not match GitHub URL pattern. Not treating it as a GitHub...
Read more >
Github Actions remote repo issues - Stack Overflow
hover when running webfactory/ssh-agent@v0.5.3, I am receiving this comment: "key 'ssh-rsa...' does not match GitHub URL pattern. Not treating ...
Read more >
Git SSH public key fingerprint does not match with that on ...
Please try ssh -v git@github.com and add the output to your question in a code block. – Daniel B. Apr 2, 2021 at...
Read more >
Github CI with private repository in Julia - General Usage
Comment for (public) key '' does not match GitHub URL pattern. Not treating it as a GitHub deploy key. Yes, see the message...
Read more >
10 Set up keys for SSH - Happy Git and GitHub for the useR
This can make setup and usage harder, so if you're not up for that (yet), either don't use a passphrase or seriously consider...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found