Skip to content
Snippets Groups Projects
Commit cb6b1856 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

feat: make MR pipeline the default workflow

BREAKING CHANGE: change default workflow from Branch pipeline to MR pipeline
parent bf10f814
No related branches found
Tags 4.4 4.4.0
No related merge requests found
......@@ -13,11 +13,11 @@
# program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
# Floor, Boston, MA 02110-1301, USA.
# =========================================================================================
# default workflow rules
# default workflow rules: Merge Request pipelines
workflow:
rules:
# exclude merge requests
- if: $CI_MERGE_REQUEST_ID
# prevent branch pipeline when an MR is open (prefer MR pipeline)
- if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
when: never
- when: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment