Want pygithub api to lock the branch as indicated in the image.enter image description here
branch.edit_protection to edit protection rule
Want pygithub api to lock the branch as indicated in the image.enter image description here
branch.edit_protection to edit protection rule