1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00

ci: Avoid duplicate pipelines

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/753>
This commit is contained in:
Guido Günther 2024-09-01 09:04:37 +02:00 committed by Marge Bot
parent 7815514a47
commit 4c6dcf9e04

View file

@ -9,6 +9,15 @@ stages:
- test-package - test-package
- deploy - deploy
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
# Don't trigger a branch pipeline if there is an open MR
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when: never
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH
variables: variables:
DEBIAN_IMAGE: $CI_REGISTRY/gnome/calls/debian:v0.0.2024-08-30 DEBIAN_IMAGE: $CI_REGISTRY/gnome/calls/debian:v0.0.2024-08-30
GIT_SUBMODULE_STRATEGY: normal GIT_SUBMODULE_STRATEGY: normal