I am not able to use github api to add branch protection for a branch that does not exists or a branch with wildcard.
Wanted to automate adding restrictions for all release branches (release/*) for all repos. Seems it does not work today and its a pain to add it manually as we have 100s of repos.
Is there a way to do this automagically ??