From 0784813a1787ce0331e2073810845f22a94e2f6d Mon Sep 17 00:00:00 2001 From: sarahghp Date: Tue, 21 May 2019 14:17:53 -0400 Subject: Switch to hide label --- danger/changelog/Dangerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/danger/changelog/Dangerfile b/danger/changelog/Dangerfile index b99657f5951..7b1b70a849a 100644 --- a/danger/changelog/Dangerfile +++ b/danger/changelog/Dangerfile @@ -2,7 +2,7 @@ require 'yaml' -NO_CHANGELOG_LABELS = %w[backstage ci-build Documentation feature\ flag meta QA test].freeze +NO_CHANGELOG_LABELS = %w[backstage ci-build Documentation hide-changelog-warning meta QA test].freeze SEE_DOC = "See [the documentation](https://docs.gitlab.com/ce/development/changelog.html).".freeze CREATE_CHANGELOG_MESSAGE = <<~MSG.freeze You can create one with: @@ -43,7 +43,7 @@ rescue StandardError => e end def presented_no_changelog_labels - NO_CHANGELOG_LABELS.map { |label| "~\"#{label}\"" }.join(", ") + NO_CHANGELOG_LABELS.map { |label| "~#{label}" }.join(', ') end changelog_needed = (gitlab.mr_labels & NO_CHANGELOG_LABELS).empty? -- cgit v1.2.1