Skip to content

Commit

Permalink
Ensure a clean commit history
Browse files Browse the repository at this point in the history
  • Loading branch information
suchow committed Aug 17, 2016
1 parent b333400 commit 162b244
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dangerfile
@@ -1,2 +1,7 @@
# Look for prose issues
prose.lint_files

# Ensure a clean commits history
if git.commits.any? { |c| c.message =~ /^Merge branch/ }
fail('Please rebase to get rid of the merge commits in this PR')
end

0 comments on commit 162b244

Please sign in to comment.