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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-02-14 19:45:53 +0300
committerNick Thomas <nick@gitlab.com>2019-02-15 02:52:30 +0300
commit9afc4f9d11c83a2371c7f7356ec66b01f5b519b6 (patch)
treeb93c16fce722ab209e4840ca69e47b18de6638b2 /lib/gitlab/danger
parentbbd0a2ce91f2d43350382c7ce83729f33c39c125 (diff)
Reviewer roulette ignores changelogs
Diffstat (limited to 'lib/gitlab/danger')
-rw-r--r--lib/gitlab/danger/helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/danger/helper.rb b/lib/gitlab/danger/helper.rb
index b8428637e19..0f3f5cb3c08 100644
--- a/lib/gitlab/danger/helper.rb
+++ b/lib/gitlab/danger/helper.rb
@@ -95,6 +95,7 @@ module Gitlab
CATEGORY_LABELS = {
docs: "~Documentation",
+ none: "",
qa: "~QA"
}.freeze
@@ -120,6 +121,9 @@ module Gitlab
%r{\A(ee/)?db/} => :database,
%r{\A(ee/)?qa/} => :qa,
+ # Files that don't fit into any category are marked with :none
+ %r{\A(ee/)?changelogs/} => :none,
+
# Fallbacks in case the above patterns miss anything
%r{\.rb\z} => :backend,
%r{\.(md|txt)\z} => :docs,