From 0d960f1fd9e145657ca3ce8b88b4f03cd75d9459 Mon Sep 17 00:00:00 2001 From: Saagar Date: Sun, 17 May 2026 15:58:25 -0700 Subject: [PATCH] ci: skip diff coverage on push gates --- .github/workflows/quality-gates.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/quality-gates.yml b/.github/workflows/quality-gates.yml index 322d0dc..be51d47 100644 --- a/.github/workflows/quality-gates.yml +++ b/.github/workflows/quality-gates.yml @@ -52,13 +52,14 @@ jobs: env: # The dedicated perf-build job owns build timing. Running it again # after coverage/UI gates produces noisy runner-load failures. - VERIFY_SKIP_REGEX: ${{ github.event_name == 'push' && '^(pnpm git:guard:all|pnpm perf:build|node scripts/perf/compare-metric.mjs .perf-baselines/build-time.json .*)$' || '^(pnpm perf:build|node scripts/perf/compare-metric.mjs .perf-baselines/build-time.json .*)$' }} + VERIFY_SKIP_REGEX: ${{ github.event_name == 'push' && '^(pnpm git:guard:all|bash scripts/ci/run-diff-coverage.sh|pnpm perf:build|node scripts/perf/compare-metric.mjs .perf-baselines/build-time.json .*)$' || '^(pnpm perf:build|node scripts/perf/compare-metric.mjs .perf-baselines/build-time.json .*)$' }} run: bash .codex/scripts/run_verify_commands.sh - name: Generate coverage report run: pnpm test:coverage - name: Diff coverage + if: github.event_name == 'pull_request' run: bash scripts/ci/run-diff-coverage.sh - name: Upload test artifacts on failure