diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 04d892a..2755801 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,6 +21,11 @@ stages: - distro # distribs test - deploy +workflow: + rules: + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_PIPELINE_SOURCE == 'push' + variables: ############################################################################### # This is the list of packages required to build libei with the default # diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template index 5c56a77..ef2fb74 100644 --- a/.gitlab-ci/ci.template +++ b/.gitlab-ci/ci.template @@ -27,6 +27,11 @@ stages: - distro # distribs test - deploy +workflow: + rules: + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_PIPELINE_SOURCE == 'push' + variables: ############################################################################### # This is the list of packages required to build libei with the default #