From b14fba17d9899d9e5a0bbb9c374a7d2d47679887 Mon Sep 17 00:00:00 2001 From: YC Yen-Ching Tseng Date: Mon, 1 Jun 2026 16:17:59 +0800 Subject: [PATCH] [AMD] make bypass-fastfail label also disable within-suite fast-fail (#26909) Co-authored-by: Cursor Agent Co-authored-by: Bingxu Chen Co-authored-by: Bingxu Chen --- .github/workflows/pr-test-amd.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-test-amd.yml b/.github/workflows/pr-test-amd.yml index 719fb4bbb..08f67b88c 100644 --- a/.github/workflows/pr-test-amd.yml +++ b/.github/workflows/pr-test-amd.yml @@ -140,10 +140,17 @@ jobs: - name: Set continue-on-error for schedule/full runs id: set-continue-on-error + env: + # `bypass-fastfail` PR label: also disable within-suite fast-fail + # here. The shared actions/wait-for-jobs already honors the same + # label to skip cross-stage waits. + BYPASS_FASTFAIL_LABEL: ${{ contains(github.event.pull_request.labels.*.name, 'bypass-fastfail') }} run: | - if [[ "${{ steps.run-mode.outputs.run_all_tests }}" == "true" || "${{ inputs.continue_on_error }}" == "true" ]]; then + if [[ "${{ steps.run-mode.outputs.run_all_tests }}" == "true" \ + || "${{ inputs.continue_on_error }}" == "true" \ + || "$BYPASS_FASTFAIL_LABEL" == "true" ]]; then echo "continue_on_error=true" >> $GITHUB_OUTPUT - echo "Continue-on-error: ENABLED (run_all_tests=${{ steps.run-mode.outputs.run_all_tests }}, input=${{ inputs.continue_on_error }})" + echo "Continue-on-error: ENABLED (run_all_tests=${{ steps.run-mode.outputs.run_all_tests }}, input=${{ inputs.continue_on_error }}, bypass-fastfail=$BYPASS_FASTFAIL_LABEL)" else echo "continue_on_error=false" >> $GITHUB_OUTPUT echo "Continue-on-error: DISABLED"