From 1f74d5964aae33c2bfc0eb04b771033b79c8aedc Mon Sep 17 00:00:00 2001 From: Winnie Hellmann Date: Mon, 2 Sep 2019 07:54:56 +0000 Subject: Apply suggestion to lib/gitlab/danger/helper.rb --- lib/gitlab/danger/helper.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/gitlab/danger/helper.rb b/lib/gitlab/danger/helper.rb index cbbe77a966a..d30d5a38670 100644 --- a/lib/gitlab/danger/helper.rb +++ b/lib/gitlab/danger/helper.rb @@ -110,11 +110,10 @@ module Gitlab karma\.config\.js | webpack\.config\.js | package\.json | - yarn\.lock + yarn\.lock | + \.gitlab/ci/frontend\.gitlab-ci\.yml )\z}x => :frontend, - %r{\A(\.gitlab/ci/frontend\.gitlab-ci\.yml)\z} => :frontend, - %r{\A(ee/)?db/(?!fixtures)[^/]+} => :database, %r{\A(ee/)?lib/gitlab/(database|background_migration|sql|github_import)(/|\.rb)} => :database, %r{\A(app/models/project_authorization|app/services/users/refresh_authorized_projects_service)(/|\.rb)} => :database, -- cgit v1.2.1