changeset 49214:e3ac39edaa94

branching: merge stable into default
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 17 May 2022 12:05:09 +0100
parents c577d394ed6b (current diff) 477b5145e1a0 (diff)
children 22279b604a88
files contrib/heptapod-ci.yml
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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}"