From a7797616f5208794989aad4bb4900f07d976ca09 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Sun, 30 Jul 2023 01:17:08 -0400 Subject: [PATCH] ci: cancel in-progress GitHub Actions workflow on repeated pushes --- .github/workflows/CI.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 81f1e41..bda6e40 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,6 +12,10 @@ on: - "**.rst" - "Docs/**" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: tests: runs-on: ${{ matrix.os }}