branching: merge stable into default
authorRaphaël Gomès <rgomes@octobus.net>
Tue, 17 May 2022 12:05:09 +0100
changeset 49182 e3ac39edaa94
parent 49180 c577d394ed6b (current diff)
parent 49181 477b5145e1a0 (diff)
child 49183 22279b604a88
branching: merge stable into default
contrib/heptapod-ci.yml
--- a/contrib/heptapod-ci.yml	Thu May 12 07:36:37 2022 -0700
+++ b/contrib/heptapod-ci.yml	Tue May 17 12:05:09 2022 +0100
@@ -11,7 +11,7 @@
     TEST_HGTESTS_ALLOW_NETIO: "0"
 
 .all_template: &all
-  when: always
+  when: on_success
 
 .runtests_template: &runtests
     <<: *all
@@ -46,11 +46,11 @@
 
 phabricator-refresh:
     stage: phabricator
-    rules:
-      - if: '"$PHABRICATOR_TOKEN" != "NO-PHAB"'
-        when: on_success
-      - if: '"$PHABRICATOR_TOKEN" == "NO-PHAB"'
-        when: never
+    except:
+      refs:
+        - merge_requests
+      variables:
+        - $PHABRICATOR_TOKEN == "NO-PHAB"
     variables:
       DEFAULT_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)"
       STABLE_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)\n⚠ This patch is intended for stable ⚠\n{image https://media.giphy.com/media/nYI8SmmChYXK0/source.gif}"