From caa76fb68ef93b5b4656567c06d19dbe3a025a52 Mon Sep 17 00:00:00 2001 From: maoyifeng Date: Thu, 16 Jul 2026 17:58:20 +0800 Subject: [PATCH] Fix: CI tags cancel running workflow (#17001) ### Summary 1. Change the CI trigger conditions. synchronize and labeled ci 2. Fix ci: tags canceled running workflow --- .github/workflows/sep-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sep-tests.yml b/.github/workflows/sep-tests.yml index 29323c0c47..d86c3c57ca 100644 --- a/.github/workflows/sep-tests.yml +++ b/.github/workflows/sep-tests.yml @@ -15,7 +15,7 @@ on: # — pull_request_target workflows use the workflow files from the default branch, and secrets are available. # — pull_request workflows use the workflow files from the pull request branch, and secrets are unavailable. pull_request: - types: [opened, synchronize, reopened, ready_for_review, labeled] + types: [synchronize, labeled] paths-ignore: - 'docs/**' - '*.md' @@ -25,7 +25,7 @@ on: # https://docs.github.com/en/actions/using-jobs/using-concurrency concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}${{ github.event.action == 'labeled' && github.event.label.name != 'ci' && format('-ignore-{0}', github.run_id) || '' }} cancel-in-progress: true jobs: