From fd9f24e70878816641d9340306fe5b3c114afd8a Mon Sep 17 00:00:00 2001 From: Dejan Jovasevic Date: Sat, 23 Mar 2024 14:44:09 +0100 Subject: [PATCH] Add workflow concurrency group - This will autocancel new workflows if same branch is pushed wit new/ammended commits --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 65e19f194..88e2ee579 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,10 @@ on: - 'RELEASE_NOTES.md' workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref_name }} + cancel-in-progress: true + env: CACHE_REVISION: '006' CEF_BUILD_VERSION_MAC: '5060'