mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted.git
synced 2024-11-30 02:46:52 +01:00
Update Dangerfile
This commit is contained in:
parent
1fe52b4236
commit
eda3a1cfd3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user