[#5] Add "Revert" to the list of allowed commit prefixes

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-12-08 11:20:53 +03:00
parent 7616539e89
commit c2f55eea82

View file

@ -16,7 +16,7 @@ import (
func main() { func main() {
// Prepare regexp templates. // 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:`) rxSignOff := regexp.MustCompile(`^Signed-off-by:`)
// Open current git dir. // Open current git dir.