From 5a71c6060920aaf66c77bc3270ef02a172c8346d Mon Sep 17 00:00:00 2001 From: Stuart Morgan Date: Wed, 8 Mar 2023 10:51:33 -0500 Subject: [PATCH] [ci] Fix federated safety check The conditions were reversed for this check, so it wasn't actually running in presubmit (and could have broken postsubmit). --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 73a843d9152..2dc49004547 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -122,9 +122,9 @@ task: # This check is only meaningful for PRs, as it validates changes # rather than state. - if [[ $CIRRUS_PR == "" ]]; then - - ./script/tool_runner.sh federation-safety-check - - else - echo "Only run in presubmit" + - else + - ./script/tool_runner.sh federation-safety-check - fi - name: analyze env: