diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2023-08-13 00:26:11 +0100 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2023-09-08 21:06:39 +0000 |
commit | e1e22daa6b9a003a95e3669be81daa189d67f6b2 (patch) | |
tree | c4a6ebc29c1a34a21006b9c7914a98baa5e5f2f1 /.gitlab-ci.yml | |
parent | ed34d973f803f99647b40859691bcb71f00eb239 (diff) |
ci: trigger pipeline automatically if it was created by a schedule
.. but don't regen and upload caches for scheduled pipelines on main.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1250>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 89caa1b1..e3192aab 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -86,6 +86,8 @@ default: rules: # If this pipeline is triggered from gstreamer, trigger the pipeline automatically - if: '$CI_PIPELINE_SOURCE == "pipeline"' + # If this pipeline is triggered by a schedule, trigger the pipeline automatically + - if: '$CI_PIPELINE_SOURCE == "schedule"' # If this matches, it means the pipeline is running against either the main # or a stable branch, so make it automatic cause they need to update artifacts, # like the docs site or cerbero deps |