diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 60c216d8d..21ae7f45f 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -38,10 +38,10 @@ on: - 'vcpkg.json' - 'vcpkg' -# Cancel earlier, unfinished runs of this workflow on the same branch (unless on master) +# Cancel earlier, unfinished runs of this workflow on the same branch (unless on release) concurrency: group: "${{ github.workflow }} @ ${{ github.ref_name }}" - cancel-in-progress: ${{ github.ref_name != 'master' }} + cancel-in-progress: ${{ github.ref_type != 'tag' }} jobs: configure: diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index cdcf77e97..fca1e97d4 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -13,6 +13,11 @@ on: - '.github/workflows/docker-release.yml' - 'Dockerfile' +# Cancel earlier, unfinished runs of this workflow on the same branch (unless on release) +concurrency: + group: "${{ github.workflow }} @ ${{ github.ref_name }}" + cancel-in-progress: ${{ github.ref_type != 'tag' }} + jobs: docker: name: amd64 & arm64