From 4d1dfbae6182f9d3bea3637fc99cb600aeac0b54 Mon Sep 17 00:00:00 2001 From: John Brunton Date: Sat, 31 Aug 2024 12:53:26 +0100 Subject: [PATCH] chore: set build concurrency --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 24963ec2..5f67a981 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,9 @@ name: build +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main'}} + on: push: