Danger ignores gitlab.pot

This commit is contained in:
Nick Thomas 2019-02-27 10:52:19 +00:00
parent b7a3c8f640
commit f497c0f236
No known key found for this signature in database
GPG Key ID: 2A313A47AFADACE9
2 changed files with 2 additions and 0 deletions

View File

@ -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,

View File

@ -265,6 +265,7 @@ describe Gitlab::Danger::Helper do
'changelogs/foo' | :none
'ee/changelogs/foo' | :none
'locale/gitlab.pot' | :none
'FOO' | :unknown
'foo' | :unknown