From 1b264d3d1a91fcfc4e8bbe9fda5c4785b4268503 Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Thu, 20 Jun 2024 00:23:02 +0100 Subject: [PATCH] cancel in progress --- .github/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index aff751d..546ed59 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,6 +6,10 @@ on: pull_request: workflow_dispatch: +concurrency: + group: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.run_id || github.head_ref || github.ref }}-${{ github.workflow }}-${{ github.event_name }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-20.04