From 43e1d8a0bdf18dbcf58f1fed3d4276d9c60a5d55 Mon Sep 17 00:00:00 2001 From: joanvallve <jvallve@iri.upc.edu> Date: Wed, 26 Jun 2024 17:02:41 +0200 Subject: [PATCH] [skip ci] ci --- .gitlab-ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73b0cf3..68a5809 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,14 +8,20 @@ include: - '.ci_templates/.install_core.yml' - '.ci_templates/.preliminaries.yml' +# RUN the pipeline if it is triggered: +# - manually from web +# - scheduled +# - by a merge_request event +# - by a commit (push) +# DO NOT RUN the pipeline after a commit in a MR (avoid duplicated pipelines) workflow: - rules: + rules: - if: '$CI_PIPELINE_SOURCE == "web"' - when: always + - if: '$CI_PIPELINE_SOURCE == "schedule"' - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' + - if: '$CI_COMMIT_BRANCH' - if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS' when: never - - if: '$CI_COMMIT_BRANCH' stages: - license -- GitLab