Open aidanheerdegen opened 2 weeks ago
Private GitHub repos should use git@github.com:org/repo.git URLs, whereas https URLs are preferred for public repos.
git@github.com:org/repo.git
https
This was highlighted in this issue
https://github.com/ACCESS-NRI/spack-packages/pull/155
which broke automated CI style builds that rely on SSH keys to access a private repo.
It should be possible to add a CI QA test to check the code URLs and make sure https is used for public GitHub repos, and git URLs for private.
git
See in partcular issue #158 which asks to revert pull request #155
Private GitHub repos should use
git@github.com:org/repo.git
URLs, whereashttps
URLs are preferred for public repos.This was highlighted in this issue
https://github.com/ACCESS-NRI/spack-packages/pull/155
which broke automated CI style builds that rely on SSH keys to access a private repo.
It should be possible to add a CI QA test to check the code URLs and make sure
https
is used for public GitHub repos, andgit
URLs for private.