Description
The new GitHub v3 branches protection API has been updated. I implemented the current documented preview API (lsst-sqre#1).
Assuming there is interest I plan on PRing it after I've added tests. So is there interest? Any comments on the architecture? I tried to keep it similar to other modules in github3.py
. It's pushed to pypi as sqre-github3.py
. Though if anyone is planning on using it before it's PR'ed I should probably give it a more appropriate name like github3.py-branch-protection
.
See Also
A series of GitHub Developer posts on the protected branches API.
https://developer.github.com/changes/2016-06-27-protected-branches-api-update/
https://developer.github.com/changes/2017-03-22-protected-branches-admin-improvements/
https://developer.github.com/changes/2017-04-11-protected-branch-dismissal-restrictions/
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.