Skip to content

Only rewrite repo URL for public repos cloned over SSH#629

Merged
dminnear-rh merged 1 commit intovalidatedpatterns:mainfrom
dminnear-rh:update-target-repo-rewrite-rules
Aug 12, 2025
Merged

Only rewrite repo URL for public repos cloned over SSH#629
dminnear-rh merged 1 commit intovalidatedpatterns:mainfrom
dminnear-rh:update-target-repo-rewrite-rules

Conversation

@dminnear-rh
Copy link
Contributor

Fixes the following issues in the current implementation:

  • HTTP git remotes are rewritten to invalid URL https://http://<...>
  • Private repos with SSH git remotes are converted to HTTPS URLs for the validate-origin check. This requires username/PAT auth on GitHub instead of just checking the remote via SSH

Fixes the following issues in the current implementation:
* HTTP git remotes are rewritten to invalid URL https://http://<...>
* Private repos with SSH git remotes are converted to HTTPS URLs for the
  validate-origin check. This requires username/PAT auth on GitHub instead
  of just checking the remote via SSH
@dminnear-rh dminnear-rh merged commit d5529f8 into validatedpatterns:main Aug 12, 2025
3 checks passed
@dminnear-rh dminnear-rh deleted the update-target-repo-rewrite-rules branch August 12, 2025 15:41
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.

1 participant