diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-08-26 20:31:04 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-08-26 20:31:04 +0000 |
commit | 6f3fa06fd182b5d758bdb8c05ca90bced45cd3d7 (patch) | |
tree | 113c125e888900dc83cfe13099e7ba93713b5c37 /danger | |
parent | d58fb67f808137ddb1d3e1a6d03dfb2bfa93c13b (diff) | |
download | gitlab-ce-6f3fa06fd182b5d758bdb8c05ca90bced45cd3d7.tar.gz |
Change docs markdown linter
Change from ruby mdl to node markdownlint, add
config file to root of project, delete old config
file, update exceptions, and fix one doc that
was didn't meet standards
Diffstat (limited to 'danger')
-rw-r--r-- | danger/only_documentation/Dangerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/danger/only_documentation/Dangerfile b/danger/only_documentation/Dangerfile index dad12c0d29c..ce7ede26d9a 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', '.mdlrc') || file.end_with?('.md') } +has_only_docs_changes = helper.all_changed_files.all? { |file| file.start_with?('doc/', '.gitlab/ci/docs.gitlab-ci.yml', '.markdownlint.json') || file.end_with?('.md') } is_docs_only_branch = gitlab.branch_for_head =~ /(^docs[\/-].*|.*-docs$)/ if is_docs_only_branch && !has_only_docs_changes |