I’m wondering if there’s a way to apply branch protections in a regex kind of way. Here’s an example, I have multiple branches like release-1.0 , release-1.1 and I’d like them to all have the same branch protections. More importantly, when I create a new release-2.0 I’d like it to automatically be given branch protection with the same configuration as release-1.0 and release-1.1.
One way I’ve done this in other SCM management tools is by specifying a regular expression. Something to the effect of /^release-/
Is this possible?