diff options
author | Nick Thomas <nick@gitlab.com> | 2019-02-14 19:45:53 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-02-15 02:52:30 +0300 |
commit | 9afc4f9d11c83a2371c7f7356ec66b01f5b519b6 (patch) | |
tree | b93c16fce722ab209e4840ca69e47b18de6638b2 /lib/gitlab/danger/helper.rb | |
parent | bbd0a2ce91f2d43350382c7ce83729f33c39c125 (diff) |
Reviewer roulette ignores changelogs
Diffstat (limited to 'lib/gitlab/danger/helper.rb')
-rw-r--r-- | lib/gitlab/danger/helper.rb | 4 |
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, |