summaryrefslogtreecommitdiff
path: root/Dangerfile
diff options
context:
space:
mode:
authorNathan Friend <nathan@gitlab.com>2019-04-24 09:08:33 -0300
committerNathan Friend <nathan@gitlab.com>2019-04-24 09:08:33 -0300
commitc3268a6af542921d67c044976a0336f66ce38832 (patch)
treed4096948a8c01051ee6f74af4cfdfffe73bec2af /Dangerfile
parent6fbfa0607662197817dec0698362271a7b432e6d (diff)
downloadgitlab-ce-c3268a6af542921d67c044976a0336f66ce38832.tar.gz
Add Danger rule for EE/CE templates
This commit adds a rule to Danger that warns the developer when their MR includes changes to a CE .vue file that has a counterpart in the EE repo or vice-versa.
Diffstat (limited to 'Dangerfile')
-rw-r--r--Dangerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dangerfile b/Dangerfile
index 3e8cb456003..9e3a08949b0 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
danger.import_plugin('danger/plugins/helper.rb')
unless helper.release_automation?
@@ -16,4 +17,5 @@ unless helper.release_automation?
danger.import_dangerfile(path: 'danger/roulette')
danger.import_dangerfile(path: 'danger/single_codebase')
danger.import_dangerfile(path: 'danger/gitlab_ui_wg')
+ danger.import_dangerfile(path: 'danger/ce_ee_vue_templates')
end