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
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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