Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2019-08-15 20:42:13 +0300
committerStan Hu <stanhu@gmail.com>2019-08-15 20:42:13 +0300
commit157b047e9d6fb9bb5aa28f87539744426870b4bb (patch)
treeb6ca64a403ca43c1a443a033d413446f90a48b0a /lib/gitlab/danger
parent1985bafe2be33f03bccefaadfa9173fca49c33b9 (diff)
Removes db/fixtures from database files
This will avoid Danger to suggest a database review for files inside db/fixtures
Diffstat (limited to 'lib/gitlab/danger')
-rw-r--r--lib/gitlab/danger/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/danger/helper.rb b/lib/gitlab/danger/helper.rb
index c0a12318990..332ca8bf9b8 100644
--- a/lib/gitlab/danger/helper.rb
+++ b/lib/gitlab/danger/helper.rb
@@ -113,7 +113,7 @@ module Gitlab
yarn\.lock
)\z}x => :frontend,
- %r{\A(ee/)?db/} => :database,
+ %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,
%r{\Arubocop/cop/migration(/|\.rb)} => :database,