diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-07-09 13:31:26 +0900 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2019-07-09 13:31:26 +0900 |
commit | f1a7ecfd9637b444ff20a474f668da4fed93e05a (patch) | |
tree | 9545d3e21b94edab2f179fbf9da84b9c4d9f2a08 | |
parent | 735f360cb4d11c9640d66fd8f76dbaf41dd340b7 (diff) | |
download | gitlab-ce-docs-dangerfile-lint.tar.gz |
Update danger to accept doc lint changesdocs-dangerfile-lint
-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 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 |