From 394242fff1d1b44091b4089008ae54b10a4b17c0 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 23 Jun 2024 19:50:26 -0700 Subject: [PATCH] .github/workflows/cibuildwheel.yml: Cancel previous workflow runs --- .github/workflows/cibuildwheel.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index dc5c0e3..eed6572 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -11,6 +11,11 @@ on: types: - published +concurrency: + # Cancel previous runs of this workflow for the same branch + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build_wheels: name: Build wheels on ${{ matrix.os }}, arch ${{ matrix.arch }}