GHA CI: Don't cancel CI builds on non-pull-request branches

Fix up 2652c73a4f.
PR #16558.
This commit is contained in:
Chocobo1 2022-03-02 13:26:13 +08:00 committed by GitHub
parent 213b18e33b
commit 116664285d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@ name: CI - File health
on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: ${{ github.head_ref != '' }}
jobs:

View file

@ -3,7 +3,7 @@ name: CI - macOS
on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: ${{ github.head_ref != '' }}
jobs:

View file

@ -3,7 +3,7 @@ name: CI - Ubuntu
on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: ${{ github.head_ref != '' }}
jobs:

View file

@ -3,7 +3,7 @@ name: CI - WebUI
on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: ${{ github.head_ref != '' }}
jobs:

View file

@ -3,7 +3,7 @@ name: CI - Windows
on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: ${{ github.head_ref != '' }}
jobs: