mirror of
https://github.com/bayandin/awesome-awesomeness.git
synced 2025-04-07 17:22:55 -04:00
Update Dangerfile
This commit is contained in:
parent
9af21e89e4
commit
2fa495dffc
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
message "Hi @#{github.pr_author} thank you for your submission at Awesome-Awesomeness. Be sure that you haven't got any errors below this. For any questions, ping @m1guelpf"
|
||||
#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
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue