contrib/heptapod-ci.yml
changeset 48697 fba2d7fab11e
parent 48524 6bd42f9bc97e
child 48799 f835f6a4ee9a
child 48974 2bb75c65fa6c
--- a/contrib/heptapod-ci.yml	Thu Jan 27 20:04:56 2022 +0300
+++ b/contrib/heptapod-ci.yml	Thu Feb 03 06:49:48 2022 +0100
@@ -56,6 +56,11 @@
 
 phabricator-refresh:
     stage: phabricator
+    rules:
+      - if: '"$PHABRICATOR_TOKEN" != "NO-PHAB"'
+        when: on_success
+      - if: '"$PHABRICATOR_TOKEN" == "NO-PHAB"'
+        when: never
     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}"