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
path: root/danger
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-07-26 06:07:03 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-26 06:07:03 +0300
commitd7bf02e916cdc8ec926a35ced9cf6ab118e0f5cc (patch)
tree51ceaeda80a43b34806239834e1fb6c4b9336d22 /danger
parentb8fcf7c3d6c3b48e59e6aae5b1a6b536bba8ac40 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger')
-rw-r--r--danger/model_validations/Dangerfile3
-rw-r--r--danger/plugins/model_validations.rb10
2 files changed, 13 insertions, 0 deletions
diff --git a/danger/model_validations/Dangerfile b/danger/model_validations/Dangerfile
new file mode 100644
index 00000000000..5daea3cdaa2
--- /dev/null
+++ b/danger/model_validations/Dangerfile
@@ -0,0 +1,3 @@
+# frozen_string_literal: true
+
+model_validations.add_comment_for_added_validations
diff --git a/danger/plugins/model_validations.rb b/danger/plugins/model_validations.rb
new file mode 100644
index 00000000000..ceb8db32da2
--- /dev/null
+++ b/danger/plugins/model_validations.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+require_relative '../../tooling/danger/model_validations'
+
+module Danger
+ class ModelValidations < ::Danger::Plugin
+ # Put the helper code somewhere it can be tested
+ include Tooling::Danger::ModelValidations
+ end
+end