1
0
Fork 0
mirror of https://github.com/bayandin/awesome-awesomeness.git synced 2024-11-27 11:34:35 -05:00

Update Dangerfile

This commit is contained in:
Miguel Piedrafita 2016-12-05 20:55:05 +01:00 committed by GitHub
parent 2fa495dffc
commit 48ea3b5beb

View file

@ -2,7 +2,7 @@ message "Hi @#{github.pr_author} thank you for your submission at Awesome-Awesom
#Check for changes to README.md
has_readme_changes = git.modified_files.include?("README.md")
can_merge = github.pr_json["mergeable"]
warn("This PR cannot be merged yet.", sticky: true) unless can_merge
warn("This PR cannot be merged yet.", sticky: false) unless can_merge
# 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