From ca3b92cce7b8f29d267900c689ccb5ea3ca32230 Mon Sep 17 00:00:00 2001 From: gasoonjia Date: Tue, 15 Sep 2026 11:21:41 -0700 Subject: [PATCH] CI: Cancel stale CUDA and ROCm workflow runs Enable cancel-in-progress for CUDA, CUDA Windows, and ROCm so older runs are canceled when a pull request is updated. Authored with Codex. --- .github/workflows/cuda-windows.yml | 2 +- .github/workflows/cuda.yml | 2 +- .github/workflows/rocm.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cuda-windows.yml b/.github/workflows/cuda-windows.yml index 19c8deef651..33505703e0e 100644 --- a/.github/workflows/cuda-windows.yml +++ b/.github/workflows/cuda-windows.yml @@ -21,7 +21,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }} - cancel-in-progress: false + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 0c134b30e05..d60de30fc76 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -32,7 +32,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }} - cancel-in-progress: false + cancel-in-progress: true permissions: contents: read diff --git a/.github/workflows/rocm.yml b/.github/workflows/rocm.yml index 154454eb145..d3181faf0ec 100644 --- a/.github/workflows/rocm.yml +++ b/.github/workflows/rocm.yml @@ -36,7 +36,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }} - cancel-in-progress: false + cancel-in-progress: true permissions: contents: read