Danger ignores gitlab.pot
This commit is contained in:
parent
b7a3c8f640
commit
f497c0f236
|
@ -123,6 +123,7 @@ module Gitlab
|
||||||
|
|
||||||
# Files that don't fit into any category are marked with :none
|
# Files that don't fit into any category are marked with :none
|
||||||
%r{\A(ee/)?changelogs/} => :none,
|
%r{\A(ee/)?changelogs/} => :none,
|
||||||
|
%r{\Alocale/gitlab\.pot\z} => :none,
|
||||||
|
|
||||||
# Fallbacks in case the above patterns miss anything
|
# Fallbacks in case the above patterns miss anything
|
||||||
%r{\.rb\z} => :backend,
|
%r{\.rb\z} => :backend,
|
||||||
|
|
|
@ -265,6 +265,7 @@ describe Gitlab::Danger::Helper do
|
||||||
|
|
||||||
'changelogs/foo' | :none
|
'changelogs/foo' | :none
|
||||||
'ee/changelogs/foo' | :none
|
'ee/changelogs/foo' | :none
|
||||||
|
'locale/gitlab.pot' | :none
|
||||||
|
|
||||||
'FOO' | :unknown
|
'FOO' | :unknown
|
||||||
'foo' | :unknown
|
'foo' | :unknown
|
||||||
|
|
Loading…
Reference in New Issue