summaryrefslogtreecommitdiff
path: root/danger/rubygems/Dangerfile
blob: 8e404d88fc17344bdffea8f2a1d10bfc3cf9d8f8 (plain)
1
2
3
4
5
6
7
8
9
10
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