Add big PR warn

This commit is contained in:
Vincent Brison 2021-10-28 15:49:47 +02:00
parent 4eb771cb9b
commit 33b0111583
2 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,2 @@
# Warn when there is a big PR
warn("Big PR") if git.lines_of_code > 1
warn("Big PR") if git.lines_of_code > 500

View File

@ -7,3 +7,4 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
# gem "rails"
gem "danger-gitlab", "~> 8.0"