Cédric Krier pushed to branch branch/default at Tryton / python-sql


Commits:
92890939 by Cédric Krier at 2023-01-11T23:52:45+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:
   - check



View it on Heptapod: 
https://foss.heptapod.net/tryton/python-sql/-/commit/928909394547be82146866aed92a836fa792cfe5

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


Reply via email to