|
@ -1,5 +1,5 @@ |
|
|
#Check for changes to README.md |
|
|
#Check for changes to README.md |
|
|
has_readme_changes = !git.modified_files.grep(/README.md).empty? |
|
|
|
|
|
|
|
|
has_readme_changes = git.modified_files.include?("README.md") |
|
|
|
|
|
|
|
|
# Ensure there is a summary for a pull request |
|
|
# Ensure there is a summary for a pull request |
|
|
fail 'Please provide a summary in the Pull Request description' if github.pr_body.length < 5 |
|
|
fail 'Please provide a summary in the Pull Request description' if github.pr_body.length < 5 |
|
|