Commit fcd1c94a authored by Rémy Coutable's avatar 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
parents 7add26e5 9add8e3a
......@@ -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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment