Add option for protected branch wildcard case sensitivity
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
When creating a protected branch rule (/settings/repository
) selecting branches by wildcard is case sensitive. This behavior may not be desirable in some situations.
Since there is an option of having the same branch name with different cases, you would like to have an option to protect any combination. When patterns are case insensitive, the only option would be to create every variation of that branch name, which makes it almost impossible for longer patterns. Only for 3 letter patters you already have 8 options - dev*, DEV*, Dev*, dEv*, deV*, DEv*, dEV*, DeV*.
Proposed solution
Provide the ability to turn case sensitivity on/off for wildcard matching when creating protected branch rules.