From 868882552dcd872b984a33153c227fddef1ab206 Mon Sep 17 00:00:00 2001 From: Mike Kruskal Date: Tue, 27 Feb 2024 12:15:56 -0800 Subject: [PATCH] Actually fail if staleness fail PiperOrigin-RevId: 610833812 --- .github/workflows/staleness_check.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/staleness_check.yml b/.github/workflows/staleness_check.yml index 01077caa5a..8d4b1fdea9 100644 --- a/.github/workflows/staleness_check.yml +++ b/.github/workflows/staleness_check.yml @@ -52,8 +52,7 @@ jobs: run: | set -ex if [[ -z $COMMIT_TRIGGERED_RUN || -z $MAIN_RUN ]]; then - bazel query 'attr(tags, "staleness_test", //...)' | xargs bazel test $BAZEL_FLAGS || \ - echo "Please run ./regenerate_stale_files.sh to regenerate stale files" + bazel query 'attr(tags, "staleness_test", //...)' | xargs bazel test $BAZEL_FLAGS else bazel query 'attr(tags, "staleness_test", //...)' fi