diff --git a/spec/tooling/danger/project_helper_spec.rb b/spec/tooling/danger/project_helper_spec.rb
index 90409ff55597908e3cd39144f511c58cf1053911..0b7bb18bcc3e453cfcc8ce281844cc7b1ef8fdab 100644
--- a/spec/tooling/danger/project_helper_spec.rb
+++ b/spec/tooling/danger/project_helper_spec.rb
@@ -120,6 +120,7 @@
 
       'db/schema.rb'                                                                   | [:database]
       'db/structure.sql'                                                               | [:database]
+      'db/docs/example.yml'                                                            | [:database]
       'db/migrate/foo'                                                                 | [:database]
       'db/post_migrate/foo'                                                            | [:database]
       'ee/db/geo/migrate/foo'                                                          | [:database]
diff --git a/tooling/danger/project_helper.rb b/tooling/danger/project_helper.rb
index bf2dba640659039edaae5080f8f07f09cb4c54db..5cfc92b1625d1dc3d0b16d6384ba2d07a76248b4 100644
--- a/tooling/danger/project_helper.rb
+++ b/tooling/danger/project_helper.rb
@@ -35,7 +35,6 @@ module ProjectHelper
         %r{\Adoc/.*(\.(md|png|gif|jpg|yml))\z} => :docs,
         %r{\A(CONTRIBUTING|LICENSE|MAINTENANCE|PHILOSOPHY|PROCESS|README)(\.md)?\z} => :docs,
         %r{\Adata/whats_new/} => :docs,
-        %r{\Adb/docs/.+\.yml\z} => :docs,
         %r{\Adata/deprecations/} => :none,
         %r{\Adata/removals/} => :none,
 
@@ -100,6 +99,7 @@ module ProjectHelper
 
         %r{\A((ee|jh)/)?db/(geo/)?(?!click_house|fixtures)[^/]+} => [:database],
         %r{\A((ee|jh)/)?db/[^/]+\z} => [:database], # db/ root files
+        %r{\Adb/docs/.+\.yml\z} => [:database],
         %r{\A((ee|jh)/)?lib/(ee/)?gitlab/(database|background_migration|sql)(/|\.rb)} => [:database, :backend],
         %r{\A(app/services/authorized_project_update/find_records_due_for_refresh_service)(/|\.rb)} => [:database, :backend],
         %r{\A(app/models/project_authorization|app/services/users/refresh_authorized_projects_service)(/|\.rb)} => [:database, :backend],