From 4f17b9728457652d3abbded68d5e9f0b244d79db Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Wed, 13 Sep 2023 12:21:13 -0400 Subject: [PATCH] ci: cancel in-progress workflows upon new PR commit (#38) --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 388a06c..cd223d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,10 @@ defaults: run: shell: bash +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: # check consistency between Groovy and C++ APIs