diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2019-08-15 17:42:13 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-08-15 17:42:13 +0000 |
commit | 157b047e9d6fb9bb5aa28f87539744426870b4bb (patch) | |
tree | b6ca64a403ca43c1a443a033d413446f90a48b0a /lib/gitlab/danger | |
parent | 1985bafe2be33f03bccefaadfa9173fca49c33b9 (diff) | |
download | gitlab-ce-157b047e9d6fb9bb5aa28f87539744426870b4bb.tar.gz |
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.rb | 2 |
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, |