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

Autocorrect RuboCop violations in danger/**/Dangerfile

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