From 449c4945043eccba4d69eaced3165e51ccfcfabd Mon Sep 17 00:00:00 2001 From: nrew225 Date: Sun, 4 Dec 2016 13:22:59 -0600 Subject: [PATCH] Add unchecked box check. --- Dangerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dangerfile b/Dangerfile index 311c0e1a..f48eb6e5 100644 --- a/Dangerfile +++ b/Dangerfile @@ -3,6 +3,9 @@ has_readme_changes = git.modified_files.include?("README.md") # 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 + +# Check if PR guidelines are checked. +fail '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'