--- 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}"