diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b18dc0ff39a..6636d56d741 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} jobs: api: diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 6e00fcb98f9..f10284c1d8e 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -8,7 +8,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} jobs: lint: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ee9383aa9f1..efb3ea85c2e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -9,7 +9,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} jobs: analyze: diff --git a/.github/workflows/electron.yml b/.github/workflows/electron.yml index 5bf0c521843..8b90d41a995 100644 --- a/.github/workflows/electron.yml +++ b/.github/workflows/electron.yml @@ -15,7 +15,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} jobs: build: