Commit e3b79499 authored by Rémy Coutable's avatar Rémy Coutable

Make Danger as for backend review for .gitlab-ci.yml

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 1fc89ca9
...@@ -114,7 +114,7 @@ module Gitlab ...@@ -114,7 +114,7 @@ module Gitlab
%r{\A(ee/)?spec/(?!javascripts)[^/]+} => :backend, %r{\A(ee/)?spec/(?!javascripts)[^/]+} => :backend,
%r{\A(ee/)?vendor/(?!assets)[^/]+} => :backend, %r{\A(ee/)?vendor/(?!assets)[^/]+} => :backend,
%r{\A(ee/)?vendor/(languages\.yml|licenses\.csv)\z} => :backend, %r{\A(ee/)?vendor/(languages\.yml|licenses\.csv)\z} => :backend,
%r{\A(Dangerfile|Gemfile|Gemfile.lock|Procfile|Rakefile)\z} => :backend, %r{\A(Dangerfile|Gemfile|Gemfile.lock|Procfile|Rakefile|\.gitlab-ci\.yml)\z} => :backend,
%r{\A[A-Z_]+_VERSION\z} => :backend, %r{\A[A-Z_]+_VERSION\z} => :backend,
%r{\A(ee/)?db/} => :database, %r{\A(ee/)?db/} => :database,
......
...@@ -244,12 +244,13 @@ describe Gitlab::Danger::Helper do ...@@ -244,12 +244,13 @@ describe Gitlab::Danger::Helper do
'vendor/languages.yml' | :backend 'vendor/languages.yml' | :backend
'vendor/licenses.csv' | :backend 'vendor/licenses.csv' | :backend
'Dangerfile' | :backend 'Dangerfile' | :backend
'Gemfile' | :backend 'Gemfile' | :backend
'Gemfile.lock' | :backend 'Gemfile.lock' | :backend
'Procfile' | :backend 'Procfile' | :backend
'Rakefile' | :backend 'Rakefile' | :backend
'FOO_VERSION' | :backend '.gitlab-ci.yml' | :backend
'FOO_VERSION' | :backend
'ee/FOO_VERSION' | :unknown 'ee/FOO_VERSION' | :unknown
......
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