summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-07-09 06:27:44 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-07-09 06:27:44 +0000
commit84b49ef3a31e93d7f2501d30adb4965c0a18c59b (patch)
treefda44d6210fa36821541d16a5102be6e9344fa4a
parent9cbc5f54e588aad3186fa3eb8c0f188b2dbd59d0 (diff)
parent81547207ca3842bda347a24a0dfb462ac164fb84 (diff)
downloadgitlab-ce-84b49ef3a31e93d7f2501d30adb4965c0a18c59b.tar.gz
Merge branch 'docs-dangerfile-lint' into 'master'
Docs: Update danger to accept docs linting changes See merge request gitlab-org/gitlab-ce!30497
-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