mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-16 17:13:01 +00:00
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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user