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>2022-11-07 09:08:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-07 09:08:10 +0300
commit44c74f7b06002162c0d6bcc7c8f94f6b1a56d438 (patch)
tree8605081c4e334380388e46ec1f27719af136d8f0 /danger
parenta31408ba64f61275813cc3ffd5aa9bc9ce9f3319 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger')
-rw-r--r--danger/rubygems/Dangerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/danger/rubygems/Dangerfile b/danger/rubygems/Dangerfile
new file mode 100644
index 00000000000..8e404d88fc1
--- /dev/null
+++ b/danger/rubygems/Dangerfile
@@ -0,0 +1,11 @@
+# frozen_string_literal: true
+
+all_changed_files = helper.all_changed_files
+
+if all_changed_files.detect { |file| file == 'Gemfile' || file == 'Gemfile.lock' }
+ markdown <<~MSG
+ ## Rubygems
+
+ This merge request adds, or changes a Rubygems dependency. Please review the [Gemfile guidelines](https://docs.gitlab.com/ee/development/gemfile.html).
+ MSG
+end