From 8eb22f0cece754cf4311fe1564b14470a12949b1 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 }}