I have a private repo at github and the access is controlled by deployment ssh key pairs. Now I want to set up a read-only access for CI.
I searched this: Github: readonly access to a private repo
but still clueless.
Anybody can let me know how to do it?
Thanks in advance!
The read-only access that we currently offer to GitHub Organizations still allows users to both clone and fork the repositories that they have permission to read This does not give users the ability to push data, so this should work for your particular use case. Hope this helps!
I have it on good authority that the (relatively new) "Organizations" feature allows you to add people with read-only access to a private repository. Show activity on this post. For anyone else finding this question, know that nowadays you can in fact create read-only deploy keys:
You may be looking for GitHub deploy keys. See answers to this question for more detail. Go to https://github.com/organizations/<your organisation>/teams, there you can create a read-only access team for your repository. The difficulty of finding this page surprises me every time I need it.
With GitHub CloudApp, this can interfere with read-only access as URL’s in CloudApp are either allow or block and takes precedence over URL policy. Read-only access needs access to the base URL’s but needs to find URL’s with keywords in them to block accordingly.
You may be looking for GitHub deploy keys. See answers to this question for more detail.
Go to https://github.com/organizations/<your organisation>/teams
, there you can create a read-only access team for your repository.
The difficulty of finding this page surprises me every time I need it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With