diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-07 18:19:19 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-07 18:19:19 +0300 |
commit | d4fcd1794ea9fc10d83cdc75490f76a418e59d52 (patch) | |
tree | b072bfe2c59dc666ddaa28c11e0c04a7971014e0 /danger | |
parent | dfa6eac07553d5a3f254ee904e4298bd666b410f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'danger')
-rw-r--r-- | danger/documentation/Dangerfile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/danger/documentation/Dangerfile b/danger/documentation/Dangerfile index 150109eff51..78f8c87a528 100644 --- a/danger/documentation/Dangerfile +++ b/danger/documentation/Dangerfile @@ -19,6 +19,13 @@ MSG docs_paths_to_review = helper.changes_by_category[:docs] +# Some docs do not need a review from a technical writer +SKIP_TW_REVIEW_PATHS = ['doc/solutions'].freeze + +docs_paths_to_review.delete_if do |item| + SKIP_TW_REVIEW_PATHS.any? { |skip_path| item.start_with?(skip_path) } +end + # Documentation should be updated for feature::addition and feature::enhancement if docs_paths_to_review.empty? warn(DOCUMENTATION_UPDATE_MISSING) if feature_mr? |