diff options
author | Nick Thomas <nick@gitlab.com> | 2019-02-27 10:52:19 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-02-27 10:52:19 +0000 |
commit | f497c0f236fdb4714eade2054c48fa60f4d91791 (patch) | |
tree | 034ae28cf9fa369b305b31c491e44f14439d866a | |
parent | b7a3c8f6404ba2890409e0e79697fa34354cf46e (diff) | |
download | gitlab-ce-f497c0f236fdb4714eade2054c48fa60f4d91791.tar.gz |
Danger ignores gitlab.pot
-rw-r--r-- | lib/gitlab/danger/helper.rb | 1 | ||||
-rw-r--r-- | spec/lib/gitlab/danger/helper_spec.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/danger/helper.rb b/lib/gitlab/danger/helper.rb index d3c86fdb629..d2b7ca015d4 100644 --- a/lib/gitlab/danger/helper.rb +++ b/lib/gitlab/danger/helper.rb @@ -123,6 +123,7 @@ module Gitlab # Files that don't fit into any category are marked with :none %r{\A(ee/)?changelogs/} => :none, + %r{\Alocale/gitlab\.pot\z} => :none, # Fallbacks in case the above patterns miss anything %r{\.rb\z} => :backend, diff --git a/spec/lib/gitlab/danger/helper_spec.rb b/spec/lib/gitlab/danger/helper_spec.rb index 00cb1e6446a..66cd8171c12 100644 --- a/spec/lib/gitlab/danger/helper_spec.rb +++ b/spec/lib/gitlab/danger/helper_spec.rb @@ -265,6 +265,7 @@ describe Gitlab::Danger::Helper do 'changelogs/foo' | :none 'ee/changelogs/foo' | :none + 'locale/gitlab.pot' | :none 'FOO' | :unknown 'foo' | :unknown |