Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
e8dec8fe by Cédric Krier at 2023-01-11T15:53:43+01:00
Simplify workflow rule
- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -1,6 +1,4 @@
 workflow:
   rules:
-    - if: $CI_PIPELINE_SOURCE == "trigger"
-    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
-    - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
+    - if: $CI_COMMIT_BRANCH =~ /^topic\/.*/ && $CI_PIPELINE_SOURCE == "push"
       when: never
@@ -6,5 +4,5 @@
       when: never
-    - if: $CI_COMMIT_BRANCH =~ /^branch\/.*/
+    - when: always
 
 stages:
   - preparation



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/e8dec8fe648afcb383ae63f2fd0b6edf51fb0334

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/e8dec8fe648afcb383ae63f2fd0b6edf51fb0334
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to