mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-28 20:14:25 +00:00
ci: don't run for translation updates
Running a pipeline for each translation update is wasting resources.
This commit is contained in:
parent
8c33c7ed95
commit
c1169c8d9c
|
@ -20,11 +20,13 @@ stages:
|
|||
|
||||
workflow:
|
||||
rules:
|
||||
# run merge request pipelines and for main or release branches
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event" ||
|
||||
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH ||
|
||||
$CI_COMMIT_BRANCH =~ /^gnome-.*$/ ||
|
||||
$CI_PIPELINE_SOURCE == "web"
|
||||
# run merge request pipelines, for main or release branches and for manually
|
||||
# triggered pipelines (source "web"), but not for translation updates
|
||||
- if: ($CI_PIPELINE_SOURCE == "merge_request_event" ||
|
||||
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH ||
|
||||
$CI_COMMIT_BRANCH =~ /^gnome-.*$/ ||
|
||||
$CI_PIPELINE_SOURCE == "web") &&
|
||||
$CI_COMMIT_TITLE !~ /^Update.*translation$/
|
||||
|
||||
flatpak@x86_64:
|
||||
extends: ['.flatpak@x86_64', '.vars-devel']
|
||||
|
|
Loading…
Reference in a new issue