diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-03-26 03:55:09 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-03-26 03:55:09 +0300 |
commit | eb778018c118a7dee12f4c189aeb14c26c452834 (patch) | |
tree | 5c448adccd15c71e20bb07f1132ce659b22e89e4 | |
parent | 22f2879b9b304ee72cf17356e1b4071a0a394809 (diff) | |
parent | cfe607632cad4ae6a176b5638ecbbc0ad4f7e761 (diff) |
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.rb | 18 |
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, |