Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/danger
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-11-29 15:14:14 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-29 15:14:14 +0300
commitfb28ad5316eb794646daf3b222779ed2e08b638e (patch)
tree73cc813625698f7f33e5e1cded6ca6bcb0722f5b /danger
parent3396d8eca00790628c5ac45ece32194fb17079b0 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger')
-rw-r--r--danger/rubocop/Dangerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/danger/rubocop/Dangerfile b/danger/rubocop/Dangerfile
index 41131241691..b43a1042bd5 100644
--- a/danger/rubocop/Dangerfile
+++ b/danger/rubocop/Dangerfile
@@ -1,5 +1,9 @@
# frozen_string_literal: true
+# This is noisy for draft MRs, so let's ignore this cop in draft mode since we have
+# rubocop watching this as well.
+return if helper.draft_mr?
+
# Danger should not comment when inline disables are added in the following files.
no_suggestions_for_extensions = %w[.md]