Skip to content
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

fix: convert HTTP to SSH source when using deploy key on GitHub #2568

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

matpratta
Copy link

This PR aims to improve the overall user experience by handling cases when an HTTP(S) Git URL is provided instead of an SSH one, for deployments using Deploy Key.

The incorrect URL is parsed and converted into an SSH one, based on the currently attributed "source".
Currently, GitHub is supported but should be very straightforward to expand for other providers too.

Somewhat related to my earlier issue #2563 as that was what originally caused it, though the issue itself should have been fixed on PR #2567.

@andrasbacsai andrasbacsai self-assigned this Jun 19, 2024
Copy link

gitguardian bot commented Sep 19, 2024

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
Once a secret has been leaked into a git repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@peaklabs-dev peaklabs-dev changed the base branch from main to next October 23, 2024 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants