Browse files

dangerfile, makefile: add documentation links, intentation fixes

  • Loading branch information...
nodiscc committed May 12, 2018
1 parent d91a7ed commit 69e42a98f76ac3fc3be9f43e7c2e2b7a5be111c7
Showing with 6 additions and 3 deletions.
  1. +5 −2 Dangerfile
  2. +1 −1 Makefile
@@ -1,4 +1,7 @@
#Check for changes to
# Danger CI configuration file
# Check for changes to
has_readme_changes = git.modified_files.include?("")
# 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'
warn 'Please provide a descriptive title for the Pull Request' if github.pr_title.include? 'Update'
# 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'/ }
@@ -26,7 +26,7 @@ listlicenses:
@sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' | egrep --only-matching '([Aa0-Zz9]|\s|\.|-)*` `' | sort --unique
@echo -e "\n Syntax errors:"
@echo -e "\nSyntax errors:"
@! sed -n -e '/BEGIN SOFTWARE LIST/,/END SOFTWARE LIST/ p' | egrep '\)\(|``|\)`'

0 comments on commit 69e42a9

Please sign in to comment.