From 4c90bc41c3a2ab9d8854759dd74beb048b4dfe8d Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sat, 4 Apr 2020 02:45:15 -0700 Subject: [PATCH] Rewrite `pr` recipe to merge when CI passes type: development --- justfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/justfile b/justfile index acefcce..684d6bf 100644 --- a/justfile +++ b/justfile @@ -93,7 +93,13 @@ check: test clippy lint check-minimal-versions git diff --no-ext-diff --quiet --exit-code pr: push + #!/usr/bin/env bash + set -euxo pipefail hub pull-request -o + while ! hub ci-status --verbose; do + sleep 10 + done + just done publish-check: check check-man cargo outdated --exit-code 1