From c2f55eea82333136917e5c8a601e5a66b09e0730 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Fri, 8 Dec 2023 11:20:53 +0300 Subject: [PATCH] [#5] Add "Revert" to the list of allowed commit prefixes Signed-off-by: Evgenii Stratonikov --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index b113770..029be3b 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ import ( func main() { // Prepare regexp templates. - rxHeader := regexp.MustCompile(`^(\[\#[0-9Xx]+\]\s|Release)`) + rxHeader := regexp.MustCompile(`^(\[\#[0-9Xx]+\]\s|Release|Revert|Reapply)`) rxSignOff := regexp.MustCompile(`^Signed-off-by:`) // Open current git dir.