[] Disallow using [xX] in commit prefix

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-01-25 15:25:43 +03:00
parent c2f55eea82
commit b57feca5f3

View file

@ -16,7 +16,7 @@ import (
func main() {
// Prepare regexp templates.
rxHeader := regexp.MustCompile(`^(\[\#[0-9Xx]+\]\s|Release|Revert|Reapply)`)
rxHeader := regexp.MustCompile(`^(\[\#[0-9]+\]\s|Release|Revert|Reapply)`)
rxSignOff := regexp.MustCompile(`^Signed-off-by:`)
// Open current git dir.