Sha256: d50837a9a6428bb8ff5d1f236b7060d632c63f66b1c5aa1997a9d9fbfe1da42f
Contents?: true
Size: 497 Bytes
Versions: 15
Compression:
Stored size: 497 Bytes
Contents
# frozen_string_literal: true return if helper.stable_branch_mr? thresholds = helper.config.code_size_thresholds lines_changed = git.lines_of_code if lines_changed > thresholds[:high] warn "This merge request is definitely too big (#{lines_changed} lines changed), please split it into multiple merge requests." elsif lines_changed > thresholds[:medium] warn "This merge request is quite big (#{lines_changed} lines changed), please consider splitting it into multiple merge requests." end
Version data entries
15 entries across 15 versions & 1 rubygems