From f3c8407c40247e4832b31c5c60bbda934f9824df Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Tue, 21 Sep 2021 12:05:46 +1000 Subject: [PATCH] Cancel in progress builds when new action starts --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe0ba72bb..eed579b03 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,10 @@ on: release: types: [ published ] +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + env: COMPILER_IMAGE: stashapp/compiler:5