summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-03-26 00:55:09 +0000
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-03-26 00:55:09 +0000
commiteb778018c118a7dee12f4c189aeb14c26c452834 (patch)
tree5c448adccd15c71e20bb07f1132ce659b22e89e4
parent22f2879b9b304ee72cf17356e1b4071a0a394809 (diff)
parentcfe607632cad4ae6a176b5638ecbbc0ad4f7e761 (diff)
downloadgitlab-ce-eb778018c118a7dee12f4c189aeb14c26c452834.tar.gz
Merge branch 'mg-update-reviewer-suggestions' into 'master'
Update frontend-specific files in reviewer roulette See merge request gitlab-org/gitlab-ce!26566
-rw-r--r--lib/gitlab/danger/helper.rb18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/gitlab/danger/helper.rb b/lib/gitlab/danger/helper.rb
index 0d76e324d10..ac65cf74808 100644
--- a/lib/gitlab/danger/helper.rb
+++ b/lib/gitlab/danger/helper.rb
@@ -108,7 +108,23 @@ module Gitlab
%r{\A(ee/)?public/} => :frontend,
%r{\A(ee/)?spec/(javascripts|frontend)/} => :frontend,
%r{\A(ee/)?vendor/assets/} => :frontend,
- %r{\A(jest\.config\.js|package\.json|yarn\.lock|\.eslintrc\.yml)\z} => :frontend,
+ %r{\Ascripts/frontend/} => :frontend,
+ %r{(\A|/)(
+ \.babelrc |
+ \.eslintignore |
+ \.eslintrc(\.yml)? |
+ \.nvmrc |
+ \.prettierignore |
+ \.prettierrc |
+ \.scss-lint.yml |
+ \.stylelintrc |
+ babel\.config\.js |
+ jest\.config\.js |
+ karma\.config\.js |
+ webpack\.config\.js |
+ package\.json |
+ yarn\.lock
+ )\z}x => :frontend,
%r{\A(ee/)?app/(?!assets|views)[^/]+} => :backend,
%r{\A(ee/)?(bin|config|danger|generator_templates|lib|rubocop|scripts)/} => :backend,