summaryrefslogtreecommitdiff
path: root/danger
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2019-07-09 06:27:43 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-07-09 06:27:43 +0000
commit81547207ca3842bda347a24a0dfb462ac164fb84 (patch)
treefda44d6210fa36821541d16a5102be6e9344fa4a /danger
parent9cbc5f54e588aad3186fa3eb8c0f188b2dbd59d0 (diff)
downloadgitlab-ce-81547207ca3842bda347a24a0dfb462ac164fb84.tar.gz
Docs: Update danger to accept docs linting changes
Diffstat (limited to 'danger')
-rw-r--r--danger/only_documentation/Dangerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/danger/only_documentation/Dangerfile b/danger/only_documentation/Dangerfile
index 0e5f841c891..ff65f8713d2 100644
--- a/danger/only_documentation/Dangerfile
+++ b/danger/only_documentation/Dangerfile
@@ -1,7 +1,7 @@
# rubocop:disable Style/SignalException
# frozen_string_literal: true
-has_only_docs_changes = helper.all_changed_files.all? { |file| file.start_with?('doc/', '.gitlab/ci/docs.gitlab-ci.yml') }
+has_only_docs_changes = helper.all_changed_files.all? { |file| file.start_with?('doc/', '.gitlab/ci/docs.gitlab-ci.yml', '.mdlrc') }
is_docs_only_branch = gitlab.branch_for_head =~ /(^docs[\/-].*|.*-docs$)/
if is_docs_only_branch && !has_only_docs_changes