From 893788c14a36a7a524659652f0f41439b583bd3d Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 21 Feb 2024 09:39:57 +1000 Subject: CI: add workflow rules Required for pipelines to run after some infrastructure changes, see https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/540 --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb5cbbf..183c5e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,6 +17,10 @@ include: file: '/templates/ci-fairy.yml' - template: Security/SAST.gitlab-ci.yml +workflow: + rules: + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_PIPELINE_SOURCE == 'push' stages: - prep # prep work like rebuilding the container images if there is a change -- cgit v1.2.3