github-api
github-api copied to clipboard
Branch Protection Pattern
In GitHub UI i can create an Branch Protection with an Pattern. So the branches not exists in this moment in the repo and will be protected after it created.
i studied your api but found only the protection of real existing branches.
i am right, and if is it possible to enhance the api ? Mayby with an String contructor in GHBranchProtectionBuilder ?
thanks andreas
It might be possible. It would depend on it being available as part of the Branch Protection API. See if you can find it here: https://developer.github.com/v3/repos/branches/#update-branch-protection .