Hi,
I want to set branch protection to a repo's branch so that nobody can push code in that branch. I can do that with the webUI by going into repo setting and then going to 'branch protection' link but I am looking to do that with the api so that i can script it for automation.
Is there any way or support in api to achieve this task?
thanks.
i wrote a script, this might help.
https://github.com/thinksabin/ReleaseManagementToolBox/tree/master/branch_locker_unlocker
Hi Sabin - got any way on branch permission?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.