Danger ignores gitlab.pot
This commit is contained in:
parent
b7a3c8f640
commit
f497c0f236
2 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -265,6 +265,7 @@ describe Gitlab::Danger::Helper do
|
|||
|
||||
'changelogs/foo' | :none
|
||||
'ee/changelogs/foo' | :none
|
||||
'locale/gitlab.pot' | :none
|
||||
|
||||
'FOO' | :unknown
|
||||
'foo' | :unknown
|
||||
|
|
Loading…
Reference in a new issue