From 9bd6be779f95dec94dfbcd76763e7dd53e36fb7e Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 22 Jan 2020 15:10:26 -0700 Subject: [PATCH] Reject CI on failed mergify.io backports (#7927) automerge --- ci/test-checks.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/test-checks.sh b/ci/test-checks.sh index 500ebf82a0..65b69d82c0 100755 --- a/ci/test-checks.sh +++ b/ci/test-checks.sh @@ -10,6 +10,9 @@ source ci/rust-version.sh nightly export RUST_BACKTRACE=1 export RUSTFLAGS="-D warnings" +# Look for failed mergify.io backports +_ git show HEAD --check --oneline + _ cargo +"$rust_stable" fmt --all -- --check # Clippy gets stuck for unknown reasons if sdk-c is included in the build, so check it separately.