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:
Diffstat (limited to 'tooling/danger/project_helper.rb')
-rw-r--r--tooling/danger/project_helper.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/tooling/danger/project_helper.rb b/tooling/danger/project_helper.rb
index e98ae156246..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,9 +170,6 @@ module Tooling
%r{\A((ee|jh)/)?changelogs/} => :none,
%r{\Alocale/gitlab\.pot\z} => :none,
- # GraphQL auto generated doc files and schema
- %r{\Adoc/api/graphql/reference/} => :backend,
-
# Fallbacks in case the above patterns miss anything
%r{\.rb\z} => :backend,
%r{(