hubcaps
hubcaps copied to clipboard
branch protection impl is based on an api that's no longer supported
https://github.com/softprops/hubcaps/blob/08b7dfea17cccfa7ea0904cdbc2d3c3426cdb250/src/branches/mod.rs#L76-L93
See https://developer.github.com/changes/2017-09-06-protected-branches-preview-end/
I tested out the example with branch protection and it seemed to work just fine against my own repo. If there is a more subtle issue here then I'd be up for looking at fixing it, but from the description above and linked blog post I'm not entirely clear what it is.