diff --git a/.github/gitlint/contrib_format_conventional_commits.py b/.github/gitlint/contrib_format_conventional_commits.py index d7ed4659..618f9074 100644 --- a/.github/gitlint/contrib_format_conventional_commits.py +++ b/.github/gitlint/contrib_format_conventional_commits.py @@ -15,7 +15,7 @@ def validate(self, commit): """Validate the given commit checking that the title has a proper prefix and the description starts with a lowercase.""" - regex_string = "^(chore|docs|feat|fix|refactor|style|test)(\(.*\))?: [a-z].*$" + regex_string = "^(chore|docs|feat|fix|refactor|style|test|revert)(\(.*\))?: [a-z].*$" pattern = re.compile(regex_string) if not pattern.match(commit.message.title): return [