summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2023-04-28 09:12:06 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2023-04-28 09:13:21 +1000
commit59fbdb519b0c2e0dfc53bb8a2edb8855f7ccb4c3 (patch)
tree1505613a67d14181124bc56b6eccd5e53347fc3d
parentab5438560d7ba05be730e939a5f0c9dad35ef4f2 (diff)
downloadxkeyboard-config-59fbdb519b0c2e0dfc53bb8a2edb8855f7ccb4c3.tar.gz
CI: add new workflow rules
Required to run pipelines after some infrastructure changes, see https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/540 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--.gitlab-ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1ce521e..fb520f3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,12 @@ include:
file: '/templates/ci-fairy.yml'
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+ - if: $CI_PIPELINE_SOURCE == 'push'
+
+
# global variables to be used by most/all jobs.
variables:
FDO_UPSTREAM_REPO: 'xkeyboard-config/xkeyboard-config'