From fceb1b74a5b5ba0a003789e098689ea783181998 Mon Sep 17 00:00:00 2001 From: Zachary Roth <100426704+zacharyr0th@users.noreply.github.com> Date: Thu, 16 Jul 2026 13:48:02 -0700 Subject: [PATCH] Make stale metrics advisory in CI --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58484f4..5094925 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,13 +40,9 @@ jobs: env: METRICS_MAX_AGE_HOURS: "168" run: | - if [ "${{ github.event_name }}" = "pull_request" ]; then - uv run --locked python .github/scripts/check_metrics_fresh.py || { - echo "::warning::Metrics are stale; run the scheduled Update metrics workflow after merge." - } - else - uv run --locked python .github/scripts/check_metrics_fresh.py - fi + uv run --locked python .github/scripts/check_metrics_fresh.py || { + echo "::warning::Metrics are stale; run the scheduled Update metrics workflow." + } test: runs-on: ubuntu-24.04