From 931f66440f932c62a38e8112ea8ec2f7d962e64a Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sun, 17 Oct 2021 21:40:10 -0400 Subject: [PATCH] ci: cancel in-progress on repeated pushes (#3370) --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e337770eb..09b400056 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,10 @@ on: - stable - v* +concurrency: + group: test-${{ github.ref }} + cancel-in-progress: true + jobs: # This is the "main" test suite, which tests a large number of different # versions of default compilers and Python versions in GitHub Actions.