Commit 76d2201c authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch 'feat/mr-workflow' into 'master'

Make MR pipeline the default workflow

See merge request to-be-continuous/gcloud!25
parents bf10f814 cb6b1856
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