From 106adc46c82cab0214fe08cf540f87903975cb5c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 30 Jun 2026 07:26:17 +0000 Subject: [PATCH] fix: allow cancelled CI dependencies --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 047b4a4..6161d0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -193,7 +193,7 @@ jobs: if: always() needs: [lint-rust, run-commitlint, test-unit, test-integration] steps: - - name: Verify all jobs passed or were skipped + - name: Verify all jobs passed, skipped, or were cancelled run: | results=( "${{ needs.lint-rust.result }}" @@ -202,9 +202,9 @@ jobs: "${{ needs.test-integration.result }}" ) for result in "${results[@]}"; do - if [[ "$result" == "failure" || "$result" == "cancelled" ]]; then - echo "Job failed or was cancelled: $result" + if [[ "$result" == "failure" ]]; then + echo "Job failed: $result" exit 1 fi done - echo "All jobs passed or were skipped" + echo "All jobs passed, were skipped, or were cancelled"