提交 fcd1c94a 编写于 作者: R Rémy Coutable

Merge branch 'fix-wording-in-danger-mr-to-non-master-warning' into 'master'

Fix wording in Danger warning about MRs to non-master

See merge request gitlab-org/gitlab-ce!21493
......@@ -21,5 +21,5 @@ end
has_pick_into_stable_label = gitlab.mr_labels.find { |label| label.start_with?('Pick into') }
if gitlab.branch_for_base != "master" && !has_pick_into_stable_label
warn "Most of the time, all merge requests should target `master`. Otherwise, please set the relevant `Pick into X.Y` label."
warn "Most of the time, merge requests should target `master`. Otherwise, please set the relevant `Pick into X.Y` label."
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册