summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsarahghp <sarah.groff.palermo@gmail.com>2019-05-21 14:17:53 -0400
committersarahghp <sarah.groff.palermo@gmail.com>2019-05-21 14:18:28 -0400
commit0784813a1787ce0331e2073810845f22a94e2f6d (patch)
treea162ebd4cc5964ab6aecc5c91397bb7d7d08eacd
parent103ff8dcd799ec53fef88bee6173cc690f4ef2f3 (diff)
downloadgitlab-ce-update-dangerlog-ff.tar.gz
Switch to hide labelupdate-dangerlog-ff
-rw-r--r--danger/changelog/Dangerfile4
1 files 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?