diff options
author | nodiscc <nodiscc@gmail.com> | 2018-06-16 14:17:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-16 14:17:28 +0000 |
commit | a1d93d6243fff2046d65f3cf241fb553af164856 (patch) | |
tree | 95f225ff4d0120a57f6f5a71738dd6dc6eb2eb1c /Dangerfile | |
parent | Merge pull request #1389 from ProfessorLogout/master (diff) | |
parent | readme: remove main chat link (certificate expired) (diff) | |
download | awesome-selfhosted-a1d93d6243fff2046d65f3cf241fb553af164856.tar.gz awesome-selfhosted-a1d93d6243fff2046d65f3cf241fb553af164856.zip |
Merge pull request #1385 from nodiscc/refactor-contributing-cleanup
Refactor CONTRIBUTING, PR template, cleanup
Diffstat (limited to '')
-rw-r--r-- | Dangerfile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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'/ } |