From 1bc04bffa83c4fcaec64043291b87e7e20e46cb7 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 15 Mar 2023 09:47:14 +1000 Subject: [PATCH] CI: add new workflow rules Required for pipelines to run after some infrastructure changes, see See https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438 --- .gitlab-ci.yml | 5 +++++ .gitlab-ci/ci.template | 5 +++++ 2 files changed, 10 insertions(+) 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 #