Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Dangerfile « changes_size « danger - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4471e1926c935acc31dcb9e437ea29217d49c6ee (plain)
1
2
3
4
5
6
7
8
9
# rubocop:disable Style/SignalException

if git.lines_of_code > 500
  warn "This merge request is quite big, please consider splitting it into multiple merge requests."
end

if git.lines_of_code > 5_000
  fail "This merge request is definitely too big, please split it into multiple merge requests."
end