From 1f4ae4318be9e23b41bc0e2101362a49de7a9da5 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 (cherry picked from commit 9bd6be779f95dec94dfbcd76763e7dd53e36fb7e) --- ci/test-checks.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/test-checks.sh b/ci/test-checks.sh index 0abd973860..bb92254c36 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.