Commit 9f5f35ed authored by Nick Thomas's avatar Nick Thomas

Merge branch 'categorize_graphql_schema_files' into 'master'

Categorize GraphQL schema and auto generated docs files

See merge request gitlab-org/gitlab!45676
parents 3175df76 7dc825d6
...@@ -200,6 +200,9 @@ module Gitlab ...@@ -200,6 +200,9 @@ module Gitlab
%r{\Alocale/gitlab\.pot\z} => :none, %r{\Alocale/gitlab\.pot\z} => :none,
%r{\Adata/whats_new/} => :none, %r{\Adata/whats_new/} => :none,
# GraphQL auto generated doc files and schema
%r{\Adoc/api/graphql/reference/} => :backend,
# Fallbacks in case the above patterns miss anything # Fallbacks in case the above patterns miss anything
%r{\.rb\z} => :backend, %r{\.rb\z} => :backend,
%r{( %r{(
......
...@@ -312,6 +312,8 @@ RSpec.describe Gitlab::Danger::Helper do ...@@ -312,6 +312,8 @@ RSpec.describe Gitlab::Danger::Helper do
'db/fixtures/foo.rb' | [:backend] 'db/fixtures/foo.rb' | [:backend]
'ee/db/fixtures/foo.rb' | [:backend] 'ee/db/fixtures/foo.rb' | [:backend]
'doc/api/graphql/reference/gitlab_schema.graphql' | [:backend]
'doc/api/graphql/reference/gitlab_schema.json' | [:backend]
'qa/foo' | [:qa] 'qa/foo' | [:qa]
'ee/qa/foo' | [:qa] 'ee/qa/foo' | [:qa]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment