From 55dcb36d85a051a01b02096654cdeca74d2388da Mon Sep 17 00:00:00 2001 From: Sotetsu KOYAMADA Date: Wed, 30 Oct 2024 16:30:55 +0900 Subject: [PATCH] [CI] Cancel old workflows (#1266) --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a02bfe79e..0b3b2b346 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,10 @@ on: - main pull_request: +concurrency: + group: ci-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: true + jobs: test: runs-on: "${{ matrix.os }}"