diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-29 15:14:14 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-29 15:14:14 +0300 |
commit | fb28ad5316eb794646daf3b222779ed2e08b638e (patch) | |
tree | 73cc813625698f7f33e5e1cded6ca6bcb0722f5b /danger | |
parent | 3396d8eca00790628c5ac45ece32194fb17079b0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger')
-rw-r--r-- | danger/rubocop/Dangerfile | 4 |
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] |