summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2022-07-28 10:56:27 -0400
committerRay Strode <rstrode@redhat.com>2022-07-28 10:57:21 -0400
commitca5cbab77b934ea899fbd230f7444231efe101d6 (patch)
tree14a00693ace27b4089375188334c1c4956b6ceec
parent35a4410faf8a13755208ac8a6c1cdfcedac54875 (diff)
downloadaccountsservice-ca5cbab77b934ea899fbd230f7444231efe101d6.tar.gz
ci: Only run ci stuff on merge requests
This is necessary for the CI_MERGE_REQUEST_DIFF_BASE_SHA variable to be exposed.
-rw-r--r--.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 238b6de..c9f7447 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,6 +37,8 @@ build-fedora:
when: always
paths:
- _build/meson-logs
+ only:
+ - merge_requests
test-fedora:
extends:
@@ -53,6 +55,8 @@ test-fedora:
when: always
paths:
- _build/meson-logs
+ only:
+ - merge_requests
#build-ubuntu:
# image: ubuntu:rolling