Skip to content
Snippets Groups Projects
Commit 67b079fc 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 27eced74
No related branches found
No related tags found
No related merge requests found
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
# program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth # program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
# Floor, Boston, MA 02110-1301, USA. # Floor, Boston, MA 02110-1301, USA.
# ========================================================================================= # =========================================================================================
# default workflow rules # default workflow rules: Merge Request pipelines
workflow: workflow:
rules: rules:
# exclude merge requests # prevent branch pipeline when an MR is open (prefer MR pipeline)
- if: $CI_MERGE_REQUEST_ID - if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
when: never when: never
- when: always - 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