Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
f497c0f2
Commit
f497c0f2
authored
Feb 27, 2019
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Danger ignores gitlab.pot
parent
b7a3c8f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
lib/gitlab/danger/helper.rb
lib/gitlab/danger/helper.rb
+1
-0
spec/lib/gitlab/danger/helper_spec.rb
spec/lib/gitlab/danger/helper_spec.rb
+1
-0
No files found.
lib/gitlab/danger/helper.rb
View file @
f497c0f2
...
...
@@ -123,6 +123,7 @@ module Gitlab
# Files that don't fit into any category are marked with :none
%r{
\A
(ee/)?changelogs/}
=>
:none
,
%r{
\A
locale/gitlab
\.
pot
\z
}
=>
:none
,
# Fallbacks in case the above patterns miss anything
%r{
\.
rb
\z
}
=>
:backend
,
...
...
spec/lib/gitlab/danger/helper_spec.rb
View file @
f497c0f2
...
...
@@ -265,6 +265,7 @@ describe Gitlab::Danger::Helper do
'changelogs/foo'
|
:none
'ee/changelogs/foo'
|
:none
'locale/gitlab.pot'
|
:none
'FOO'
|
:unknown
'foo'
|
:unknown
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment