From 1f90418ba27564badc33d01b441f29b5dfadf09b Mon Sep 17 00:00:00 2001 From: Colin Dean Date: Mon, 4 Nov 2024 09:04:24 -0500 Subject: [PATCH] Cancel in-progress jobs on new commits --- .github/workflows/make-based-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/make-based-ci.yml b/.github/workflows/make-based-ci.yml index 111bc8f..0a9bd67 100644 --- a/.github/workflows/make-based-ci.yml +++ b/.github/workflows/make-based-ci.yml @@ -6,6 +6,10 @@ on: pull_request: branches: [ "main" ] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: poetry-checks: runs-on: ubuntu-latest