From c9e3458c990d13aba7dbfa7d6428cb39fe923a61 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Fri, 28 Jun 2024 05:58:24 -0600 Subject: [PATCH] CI: Build-Each-Commit test: run only on PRs Followup to #23081, which broke this test on nightly cron. Signed-off-by: Ed Santiago --- contrib/cirrus/runner.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh index 09ada7996b..e24ef73761 100755 --- a/contrib/cirrus/runner.sh +++ b/contrib/cirrus/runner.sh @@ -243,6 +243,10 @@ function _run_altbuild() { cd $GOSRC case "$ALT_NAME" in *Each*) + if [[ -z "$CIRRUS_PR" ]]; then + echo ".....only meaningful on PRs" + return + fi showrun git fetch origin # The make-and-check-size script, introduced 2022-03-22 in #13518, # runs 'make' (the original purpose of this check) against