aboutsummaryrefslogtreecommitdiffstats
path: root/Dangerfile
diff options
context:
space:
mode:
authorMeitar M <meitarm@gmail.com>2018-06-18 20:14:49 +0000
committerMeitar M <meitarm@gmail.com>2018-06-18 20:14:49 +0000
commit9bad7cb2feacf0e0c8de0b2becf29979f9f03142 (patch)
treed2829385a20e9e99166da8b216d63e7e443c0662 /Dangerfile
parentAdd CampaignChain, open source Web-based marketing campaign software. (diff)
parentMerge pull request #1412 from DJCrashdummy/patch-1 (diff)
downloadawesome-selfhosted-9bad7cb2feacf0e0c8de0b2becf29979f9f03142.tar.gz
awesome-selfhosted-9bad7cb2feacf0e0c8de0b2becf29979f9f03142.zip
Merge branch 'upstream-master'
Diffstat (limited to 'Dangerfile')
-rw-r--r--Dangerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Dangerfile b/Dangerfile
index 86adae6c..115931df 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -1,4 +1,7 @@
-#Check for changes to README.md
+# Danger CI configuration file
+# https://danger.systems/guides/getting_started.html
+
+# Check for changes to README.md
has_readme_changes = git.modified_files.include?("README.md")
# Ensure there is a summary for a pull request
@@ -8,7 +11,7 @@ fail 'Please provide a summary in the Pull Request description' if github.pr_bod
warn 'Please check PR guidelines and check the boxes.' if github.pr_body.include? '- [ ]'
# Warn if pull request is not updated
-warn 'Please update the Pull Request title to contain the script name' if github.pr_title.include? 'Update README.md'
+warn 'Please provide a descriptive title for the Pull Request' if github.pr_title.include? 'Update README.md'
# Warn when there are merge commits in the diff
warn 'Please rebase to get rid of the merge commits in this Pull Request' if git.commits.any? { |c| c.message =~ /^Merge branch 'master'/ }