diff options
Diffstat (limited to 'tooling/danger')
-rw-r--r-- | tooling/danger/project_helper.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tooling/danger/project_helper.rb b/tooling/danger/project_helper.rb index 5b8d46f8328..a69d9049035 100644 --- a/tooling/danger/project_helper.rb +++ b/tooling/danger/project_helper.rb @@ -21,6 +21,10 @@ module Tooling %r{\Aglfm_specification/.+prosemirror_json\.yml} => [:frontend], %r{\Aglfm_specification/.+\.yml} => [:frontend, :backend], + # API auto generated doc files and schema (must come before generic docs regex) + %r{\Adoc/api/graphql/reference/} => [:docs, :backend], + %r{\Adoc/api/openapi/.*\.yaml\z} => [:docs, :backend], + [%r{usage_data\.rb}, %r{^(\+|-).*\s+(count|distinct_count|estimate_batch_distinct_count)\(.*\)(.*)$}] => [:database, :backend, :product_intelligence], %r{\A((ee|jh)/)?config/feature_flags/} => :feature_flag, @@ -166,10 +170,6 @@ module Tooling %r{\A((ee|jh)/)?changelogs/} => :none, %r{\Alocale/gitlab\.pot\z} => :none, - # API auto generated doc files and schema - %r{\Adoc/api/graphql/reference/} => :backend, - %r{\Adoc/api/openapi/.*\.yaml\z} => :backend, - # Fallbacks in case the above patterns miss anything %r{\.rb\z} => :backend, %r{( |