dolthub / dolthub-issues

Issues for dolthub.com
https://dolthub.com
4 stars 1 forks source link

Ability to set branch protection for multiple branches matching pattern #484

Closed prodoelmit closed 6 months ago

prodoelmit commented 1 year ago

Is your feature request related to a problem? Please describe. We have flow very similar to git-flow. That causes us to have different release branch for every release. All those branches need branch protection so that there are no unapproved PRs

Describe the solution you'd like Add option to specify name pattern instead of exact match. E.g. there is such option in gitlab: docs

Describe alternatives you've considered This could be done via webhook + API if you had branch protection settings exposed

liuliu-dev commented 6 months ago

Hi @prodoelmit , this feature is out, you can add a name pattern specify with fnmatch syntax.

Screenshot 2024-04-17 at 9 13 51 AM

Thanks for the feature request :)