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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
4530fe24
Commit
4530fe24
authored
Jun 10, 2020
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add file_hooks and codeclimate to dangerbot
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
fe116d0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
lib/gitlab/danger/helper.rb
lib/gitlab/danger/helper.rb
+2
-0
spec/lib/gitlab/danger/helper_spec.rb
spec/lib/gitlab/danger/helper_spec.rb
+2
-0
No files found.
lib/gitlab/danger/helper.rb
View file @
4530fe24
...
...
@@ -142,6 +142,7 @@ module Gitlab
%r{Dangerfile
\z
}
=>
:engineering_productivity
,
%r{
\A
(ee/)?(danger/|lib/gitlab/danger/)}
=>
:engineering_productivity
,
%r{
\A
(ee/)?scripts/}
=>
:engineering_productivity
,
%r{
\A\.
codeclimate
\.
yml
\z
}
=>
:engineering_productivity
,
%r{
\A
(ee/)?app/(?!assets|views)[^/]+}
=>
:backend
,
%r{
\A
(ee/)?(bin|config|generator_templates|lib|rubocop)/}
=>
:backend
,
...
...
@@ -151,6 +152,7 @@ module Gitlab
%r{
\A
(Gemfile|Gemfile.lock|Rakefile)
\z
}
=>
:backend
,
%r{
\A
[A-Z_]+_VERSION
\z
}
=>
:backend
,
%r{
\A\.
rubocop(_todo)?
\.
yml
\z
}
=>
:backend
,
%r{
\A
file_hooks/}
=>
:backend
,
%r{
\A
(ee/)?qa/}
=>
:qa
,
...
...
spec/lib/gitlab/danger/helper_spec.rb
View file @
4530fe24
...
...
@@ -213,6 +213,7 @@ describe Gitlab::Danger::Helper do
'generator_templates/foo'
|
:backend
'vendor/languages.yml'
|
:backend
'vendor/licenses.csv'
|
:backend
'file_hooks/examples/'
|
:backend
'Gemfile'
|
:backend
'Gemfile.lock'
|
:backend
...
...
@@ -233,6 +234,7 @@ describe Gitlab::Danger::Helper do
'.overcommit.yml.example'
|
:engineering_productivity
'.editorconfig'
|
:engineering_productivity
'tooling/overcommit/foo'
|
:engineering_productivity
'.codeclimate.yml'
|
:engineering_productivity
'lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml'
|
:backend
...
...
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