heptapod-ci: turn off pipelines for merge request events stable
authorRaphaël Gomès <rgomes@octobus.net>
Tue, 04 Jul 2023 12:30:31 +0200
branchstable
changeset 50738 929655c0e613
parent 50737 1aba446bf8e6
child 50739 48d9af6bd043
heptapod-ci: turn off pipelines for merge request events These are always duplicated by the external (from the user) push, or internal (from Heptapod itself) push pipeline, so they're entirely redundant.
contrib/heptapod-ci.yml
--- a/contrib/heptapod-ci.yml	Tue Jul 04 12:23:05 2023 +0200
+++ b/contrib/heptapod-ci.yml	Tue Jul 04 12:30:31 2023 +0200
@@ -11,6 +11,8 @@
     - if: $CI_COMMIT_BRANCH =~ /^branch\/.*/ && $CI_PIPELINE_SOURCE != "web"
       when: never
     - if: $CI_PIPELINE_SOURCE == "merge_request_event"
+      when: never
+    - if: $CI_PIPELINE_SOURCE == "push"
       when: always
     - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
       when: never