From 30b241637787b660cd6850af4c03693534b822b6 Mon Sep 17 00:00:00 2001 From: Michael Panchenko Date: Mon, 19 May 2025 16:42:28 +0200 Subject: [PATCH] GH: cancel action on new push --- .github/workflows/pytest.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 54fc2c5e..549b036b 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -2,6 +2,10 @@ name: Tests on CI on: [pull_request] +concurrency: + group: ci-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: cpu: name: Tests on ${{ matrix.os }}