Commit 27843cd2 authored by Robert Speicher's avatar Robert Speicher

Autocorrect RuboCop violations in danger/**/Dangerfile

parent 545c961d
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
require 'yaml' require 'yaml'
NO_CHANGELOG_LABELS = %w[backstage QA test] NO_CHANGELOG_LABELS = %w[backstage QA test].freeze
SEE_DOC = "See [the documentation](https://docs.gitlab.com/ce/development/changelog.html)." SEE_DOC = "See [the documentation](https://docs.gitlab.com/ce/development/changelog.html).".freeze
MISSING_CHANGELOG_MESSAGE = <<~MSG MISSING_CHANGELOG_MESSAGE = <<~MSG.freeze
**[CHANGELOG missing](https://docs.gitlab.com/ce/development/changelog.html).** **[CHANGELOG missing](https://docs.gitlab.com/ce/development/changelog.html).**
You can create one with: You can create one with:
......
# rubocop:disable Style/SignalException
# FIXME: git.info_for_file raises the following error # FIXME: git.info_for_file raises the following error
# /usr/local/bundle/gems/git-1.4.0/lib/git/lib.rb:956:in `command': (Danger::DSLError) # /usr/local/bundle/gems/git-1.4.0/lib/git/lib.rb:956:in `command': (Danger::DSLError)
# [!] Invalid `Dangerfile` file: # [!] Invalid `Dangerfile` file:
......
# frozen_string_literal: true # frozen_string_literal: true
# rubocop:disable Style/SignalException
# All the files/directories that should be reviewed by the DB team. # All the files/directories that should be reviewed by the DB team.
DB_FILES = [ DB_FILES = [
......
# rubocop:disable Style/SignalException GEMFILE_LOCK_NOT_UPDATED_MESSAGE = <<~MSG.freeze
GEMFILE_LOCK_NOT_UPDATED_MESSAGE = <<~MSG
**%<gemfile>s was updated but %<gemfile_lock>s wasn't updated.** **%<gemfile>s was updated but %<gemfile_lock>s wasn't updated.**
Usually, when %<gemfile>s is updated, you should run Usually, when %<gemfile>s is updated, you should run
......
# rubocop:disable Style/SignalException NO_NEW_SPEC_MESSAGE = <<~MSG.freeze
NO_NEW_SPEC_MESSAGE = <<~MSG
You've made some app changes, but didn't add any tests. You've made some app changes, but didn't add any tests.
That's OK as long as you're refactoring existing code, That's OK as long as you're refactoring existing code,
but please consider adding the ~backstage label in that case. but please consider adding the ~backstage label in that case.
......
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