Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2019-02-27 21:53:47 +0300
committerRobert Speicher <rspeicher@gmail.com>2019-02-27 21:53:47 +0300
commit177f9ca88b4d080e91b6c4ce2bba04d2fba95c07 (patch)
tree6277852811966108c59a4f795f2003a61bda9293
parent543316bca9454b4c468004c4cebcb76558378b98 (diff)
parentf497c0f236fdb4714eade2054c48fa60f4d91791 (diff)
Merge branch 'danger-ignores-gitlab-pot' into 'master'
Danger ignores gitlab.pot See merge request gitlab-org/gitlab-ce!25594
-rw-r--r--lib/gitlab/danger/helper.rb1
-rw-r--r--spec/lib/gitlab/danger/helper_spec.rb1
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