diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 9f93ff8b..5024fa9d 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -10,9 +10,6 @@ jobs: matrix: os: [ windows-2022, macos-14, ubuntu-24.04 ] runs-on: ${{ matrix.os }} - concurrency: - group: build-${{ github.workflow }}-${{ matrix.os }}-${{ github.event.number || github.ref }} - cancel-in-progress: true steps: - name: Checkout uses: DanySK/action-checkout@0.2.22 @@ -43,9 +40,6 @@ jobs: permissions: contents: write packages: write - concurrency: - # Only one release job at a time. Strictly sequential. - group: release needs: - build runs-on: ubuntu-24.04 diff --git a/.github/workflows/dispatcher.yml b/.github/workflows/dispatcher.yml index b6bab151..54c8eb8c 100644 --- a/.github/workflows/dispatcher.yml +++ b/.github/workflows/dispatcher.yml @@ -13,6 +13,10 @@ on: pull_request: workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.event.number || github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} + jobs: dispatcher: runs-on: ubuntu-24.04