Update Dangerfile
This commit is contained in:
parent
1156ca2a24
commit
0357f8af90
|
@ -4,9 +4,6 @@ fail 'Please provide a summary in the Pull Request description' if github.pr_bod
|
|||
# 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'/ }
|
||||
|
||||
# Only one library per pull request
|
||||
warn 'Too many changes (when adding, please keep it to one project per Pull Request)' if git.insertions > 1
|
||||
|
||||
# Warn if pull request is not updated
|
||||
warn 'Please update the Pull Request title to contain the library name' if github.pr_title.include? 'Update README.md'
|
||||
|
||||
|
|
Loading…
Reference in New Issue