mirror of
https://github.com/serhii-londar/open-source-mac-os-apps
synced 2024-11-10 06:04:15 +00:00
Update Dangerfile
This commit is contained in:
parent
1156ca2a24
commit
0357f8af90
1 changed files with 0 additions and 3 deletions
|
@ -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 a new issue