summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-03-14 10:22:48 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-03-14 17:25:40 +0000
commite45ca7b41dcd3ace7681d6897505f85d374640f2 (patch)
tree06133c4ee21107f21f10e0bce078cfa166f4a5fa
parent72eeeb6dedc39f68608312eb0001f77fffccd499 (diff)
downloadxorg-lib-libX11-e45ca7b41dcd3ace7681d6897505f85d374640f2.tar.gz
gitlab CI: add workflow rules
Needed due to the gitlab config changes described in: https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--.gitlab-ci.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c57df6c0..5e27abcb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -96,3 +96,12 @@ build:
- make check
- make distcheck
- popd > /dev/null
+
+#
+# Workflow rules needed due to:
+# https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438
+#
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+ - if: $CI_PIPELINE_SOURCE == 'push'