gitlab-org--gitlab-foss/app/assets/javascripts/vue_merge_request_widget/constants.js
Nathan Friend 37e4f51400
Rename ATMTWPS to MTWPS (CE)
This commit does a find-and-replace from ATMTWPS -> MTWPS.
2019-08-22 14:55:55 -03:00

11 lines
476 B
JavaScript

export const WARNING = 'warning';
export const DANGER = 'danger';
export const WARNING_MESSAGE_CLASS = 'warning_message';
export const DANGER_MESSAGE_CLASS = 'danger_message';
export const MWPS_MERGE_STRATEGY = 'merge_when_pipeline_succeeds';
export const MTWPS_MERGE_STRATEGY = 'add_to_merge_train_when_pipeline_succeeds';
export const MT_MERGE_STRATEGY = 'merge_train';
export const AUTO_MERGE_STRATEGIES = [MWPS_MERGE_STRATEGY, MTWPS_MERGE_STRATEGY, MT_MERGE_STRATEGY];