Commit 9d842c70 authored by Kamil Trzciński's avatar Kamil Trzciński

Ignore revert commits

parent 0aa64cf8
......@@ -83,6 +83,9 @@ def lint_commits(commits)
# separate from enforcing good commit messages.
next if commit.message.start_with?('Merge branch')
# We ignore revert commits as they are well structured by Git already
next if commit.message.start_with?('Revert "')
subject, separator, details = commit.message.split("\n", 3)
if subject.split.length < 3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment