heptapod-ci: (hopefully) fix the pipeline savings system stable
authorRaphaël Gomès <rgomes@octobus.net>
Mon, 03 Jul 2023 15:28:17 +0200
branchstable
changeset 50738 2eaa883778f7
parent 50737 429880fd984c
child 50739 f5b02cce82ff
heptapod-ci: (hopefully) fix the pipeline savings system There is no easy way for me to test this outside of the actual repo since it would require setting up `heptapod-runner` locally, making a Git repo with the right changes, etc. It's not worth my time at this point. If this fails, I'll try to ask for help from Georges, the maintainer of Heptapod.
contrib/heptapod-ci.yml
--- a/contrib/heptapod-ci.yml	Mon Jul 03 11:02:36 2023 +0200
+++ b/contrib/heptapod-ci.yml	Mon Jul 03 15:28:17 2023 +0200
@@ -8,7 +8,7 @@
 # has succeeded.
 workflow:
   rules:
-    - if: $CI_COMMIT_BRANCH =~ /^branch\// && $CI_PIPELINE_SOURCE != "web" && $CI_PIPELINE_SOURCE != "push"
+    - if: $CI_COMMIT_BRANCH =~ /^branch\/.*/ && $CI_PIPELINE_SOURCE != "web" && $CI_PIPELINE_SOURCE != "push"
       when: never
     - if: $CI_PIPELINE_SOURCE == "merge_request_event"
     - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS