From 7e964b51985e3992ae198d59759a673416980b7b Mon Sep 17 00:00:00 2001 From: Simo Lin Date: Wed, 26 Nov 2025 10:39:38 -0800 Subject: [PATCH] [ci] mark skip as success instead of failure (#14014) --- .github/workflows/pr-test-xpu.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-test-xpu.yml b/.github/workflows/pr-test-xpu.yml index ddf9c7f70..e464bd571 100644 --- a/.github/workflows/pr-test-xpu.yml +++ b/.github/workflows/pr-test-xpu.yml @@ -109,9 +109,10 @@ jobs: steps: - name: Check job status run: | - if [ "${{ needs.build-and-test.result }}" != "success" ]; then - echo "Job failed with result: ${{ needs.build-and-test.result }}" + result="${{ needs.build-and-test.result }}" + if [ "$result" != "success" ] && [ "$result" != "skipped" ]; then + echo "Job failed with result: $result" exit 1 fi - echo "All jobs completed successfully" + echo "All jobs completed successfully (result: $result)" exit 0