diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index 173068a9c..3ca41d0c9 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -1,7 +1,7 @@ name: cygwin concurrency: - group: cygwin-${{ github.head_ref }} + group: cygwin-${{ github.head_ref || github.ref }} cancel-in-progress: true on: diff --git a/.github/workflows/file_format.yml b/.github/workflows/file_format.yml index ea55f2b3e..348b8abf4 100644 --- a/.github/workflows/file_format.yml +++ b/.github/workflows/file_format.yml @@ -3,7 +3,7 @@ name: File format check on: [push, pull_request] concurrency: - group: file_fmt-${{ github.head_ref }} + group: file_fmt-${{ github.head_ref || github.ref }} cancel-in-progress: true permissions: diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index b7e9de3b0..b220104ab 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -1,7 +1,7 @@ name: CI image builder concurrency: - group: img_builder-${{ github.head_ref }} + group: img_builder-${{ github.head_ref || github.ref }} cancel-in-progress: true on: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 90b4b97dc..da139241d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,7 +1,7 @@ name: Lint concurrency: - group: lint-${{ github.head_ref }} + group: lint-${{ github.head_ref || github.ref }} cancel-in-progress: true on: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b6aa8434a..da77578e9 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,7 +1,7 @@ name: macos concurrency: - group: macos-${{ github.head_ref }} + group: macos-${{ github.head_ref || github.ref }} cancel-in-progress: true on: diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml index 32434d081..7e981f629 100644 --- a/.github/workflows/msys2.yml +++ b/.github/workflows/msys2.yml @@ -1,7 +1,7 @@ name: msys2 concurrency: - group: msys2-${{ github.head_ref }} + group: msys2-${{ github.head_ref || github.ref }} cancel-in-progress: true on: diff --git a/.github/workflows/nonative.yml b/.github/workflows/nonative.yml index 32754f818..1687d5ba9 100644 --- a/.github/workflows/nonative.yml +++ b/.github/workflows/nonative.yml @@ -1,7 +1,7 @@ name: Cross-only compilation environment concurrency: - group: nonative-${{ github.head_ref }} + group: nonative-${{ github.head_ref || github.ref }} cancel-in-progress: true on: diff --git a/.github/workflows/os_comp.yml b/.github/workflows/os_comp.yml index f38c81a48..2d2e9b748 100644 --- a/.github/workflows/os_comp.yml +++ b/.github/workflows/os_comp.yml @@ -1,7 +1,7 @@ name: linux concurrency: - group: linux-${{ github.head_ref }} + group: linux-${{ github.head_ref || github.ref }} cancel-in-progress: true on: diff --git a/.github/workflows/unusedargs_missingreturn.yml b/.github/workflows/unusedargs_missingreturn.yml index 8118fb244..935d7ee60 100644 --- a/.github/workflows/unusedargs_missingreturn.yml +++ b/.github/workflows/unusedargs_missingreturn.yml @@ -10,7 +10,7 @@ env: FFLAGS: "-fimplicit-none" concurrency: - group: unusedargs-${{ github.head_ref }} + group: unusedargs-${{ github.head_ref || github.ref }} cancel-in-progress: true on: