debian-mirror-gitlab/app/assets/javascripts/vue_merge_request_widget/constants.js

13 lines
510 B
JavaScript
Raw Normal View History

2020-07-28 23:09:34 +05:30
export const SUCCESS = 'success';
2019-07-07 11:18:12 +05:30
export const WARNING = 'warning';
export const DANGER = 'danger';
export const WARNING_MESSAGE_CLASS = 'warning_message';
export const DANGER_MESSAGE_CLASS = 'danger_message';
2019-09-04 21:01:54 +05:30
export const MWPS_MERGE_STRATEGY = 'merge_when_pipeline_succeeds';
2019-12-04 20:38:33 +05:30
export const MTWPS_MERGE_STRATEGY = 'add_to_merge_train_when_pipeline_succeeds';
2019-09-04 21:01:54 +05:30
export const MT_MERGE_STRATEGY = 'merge_train';
2019-12-04 20:38:33 +05:30
export const AUTO_MERGE_STRATEGIES = [MWPS_MERGE_STRATEGY, MTWPS_MERGE_STRATEGY, MT_MERGE_STRATEGY];