gitlab CI: set standard workflow rules for fdo projects

Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-synaptics/-/merge_requests/23>
This commit is contained in:
Peter Hutterer
2025-03-03 11:32:34 +10:00
parent bbb6aea35c
commit bd390922d8

View File

@@ -18,6 +18,14 @@ include:
- template: Security/SAST.gitlab-ci.yml
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when: never
- if: $CI_COMMIT_BRANCH
stages:
- prep # prep work like rebuilding the container images if there is a change
- build # for actually building and testing things in a container