Unverified Commit 2ee410a4 authored by Mark E. Schill's avatar Mark E. Schill
Browse files

Closes #119

parent edb6d2f8
...@@ -25,13 +25,13 @@ def test_changes? ...@@ -25,13 +25,13 @@ def test_changes?
false false
end end
fail 'Please provide a summary of your Pull Request.' if github.pr_body.length < 10 failure 'Please provide a summary of your Pull Request.' if github.pr_body.length < 10
warn 'This is a big Pull Request.' if git.lines_of_code > 400 warn 'This is a big Pull Request.' if git.lines_of_code > 400
# Require a CHANGELOG entry for non-test changes. # Require a CHANGELOG entry for non-test changes.
if !git.modified_files.include?('CHANGELOG.md') && code_changes? if !git.modified_files.include?('CHANGELOG.md') && code_changes?
fail 'Please include a CHANGELOG entry.' failure 'Please include a CHANGELOG entry.'
end end
# A sanity check for tests. # A sanity check for tests.
......
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