mirror of
https://github.com/jlengrand/open-source-mac-os-apps.git
synced 2026-03-10 08:31:19 +00:00
Update Dangerfile
This commit is contained in:
@@ -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 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'/ }
|
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 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'
|
warn 'Please update the Pull Request title to contain the library name' if github.pr_title.include? 'Update README.md'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user