changeset 50741:929655c0e613 stable

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.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 04 Jul 2023 12:30:31 +0200
parents 1aba446bf8e6
children 48d9af6bd043
files contrib/heptapod-ci.yml
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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