A repository will be deleted soon; I'd like to make it read-only during the transition, so people can get to it, but no developers will be able to push to it.
There doesn't seem to be an easy way to do this, as the repo is under a parent project and inherits its access controls.
Hello @Dave Steffen ,
The easiest option I can think of would be to set a branch restriction for a pattern that matches all branches and not add anyone to write access list. This should work:
Hope this helps. Let me know if you have any questions.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.