heptapod-ci: automatically refresh existing phabricator Diff on push

If a changeset have been submitted to Phabricator and a new version is pushed to
heptapod, we should refresh the state on Phabricator. If we do not do this, they
are a risk of an older version being applied from Phabricator. In this situation
content-divergence will be (rightfully) detected by evolution.

We only refresh the Diff if the test pass, to avoid updating Phabricator with
broken content.

Differential Revision: https://phab.mercurial-scm.org/D9451
4 jobs for topic/default/auto-phab-refresh in 2 minutes and 58 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Tests
passed #126410
checks-py3

00:02:21

passed #126411
rust-cargo-test-py2

00:02:03

passed #126412
rust-cargo-test-py3

00:02:04

 
  Phabricator
passed #126413
phabricator-refresh

00:00:36