Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Eipert <leipert@gitlab.com>2019-06-27 11:17:18 +0300
committerLukas Eipert <leipert@gitlab.com>2019-06-27 13:07:06 +0300
commit068d6baa38df09c43d7364e9f87caffe73168460 (patch)
treea9c953a6f3756937e01c0561def01f88ba9f037e /Dangerfile
parentedcd28ca44649b5b3e0729a95a4d6b684e1ff7cb (diff)
Add a danger rule to suggest `docs-` prefixes
If an MR only changes files within `doc/` we can save valueable CI time by prepending a branch name with `docs-`. This danger rule helps educate people about that fact. On the other hand, if someone has a branch with a `docs` prefix or suffix, the branch shouldn't contain any changes outside of the `docs` directory
Diffstat (limited to 'Dangerfile')
-rw-r--r--Dangerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dangerfile b/Dangerfile
index d0a605f8d8e..094d55e8652 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -19,4 +19,5 @@ unless helper.release_automation?
danger.import_dangerfile(path: 'danger/single_codebase')
danger.import_dangerfile(path: 'danger/gitlab_ui_wg')
danger.import_dangerfile(path: 'danger/ce_ee_vue_templates')
+ danger.import_dangerfile(path: 'danger/only_documentation')
end