Github: readonly access to a private repo

前端 未结 4 622
我寻月下人不归
我寻月下人不归 2020-12-04 17:14

I am developing some private projects on Github, and I would like to add nightly cronjobs to my deployments servers to pull the latest version from github. I am currently do

相关标签:
4条回答
  • 2020-12-04 17:40

    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.

    0 讨论(0)
  • 2020-12-04 17:47

    For anyone else finding this question, know that nowadays you can in fact create read-only deploy keys:

    https://github.com/blog/2024-read-only-deploy-keys

    You can still create deploy keys with write access, but have to explicitly grant that permission when adding the key.

    0 讨论(0)
  • 2020-12-04 17:51

    For Organizations: I suggest creating a new team specifically for the user. This team can then grant read-only access to the repositories you specify. I hope this helps!

    0 讨论(0)
  • 2020-12-04 17:51

    I know that the questions is about github but maybe for some readers it would be nice to know that this is possible in gitlab and for free. Check https://gitlab.com/help/user/permissions. I spend some time using github without fully serving my purposes. If I knew then I would have started this particular project with gitlab.

    0 讨论(0)
提交回复
热议问题