diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index f86b40429..960dfa6ba 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -1,5 +1,9 @@ name: cygwin +concurrency: + group: cygwin-${{ github.head_ref }} + cancel-in-progress: true + on: push: paths: diff --git a/.github/workflows/file_format.yml b/.github/workflows/file_format.yml index a41c61203..278fb297d 100644 --- a/.github/workflows/file_format.yml +++ b/.github/workflows/file_format.yml @@ -2,6 +2,10 @@ name: File format check on: [push, pull_request] +concurrency: + group: file_fmt-${{ github.head_ref }} + cancel-in-progress: true + jobs: format: runs-on: ubuntu-latest diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index 1a1a2d933..9c11f4d2d 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -1,5 +1,9 @@ name: CI image builder +concurrency: + group: img_builder-${{ github.head_ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/lint_mypy.yml b/.github/workflows/lint_mypy.yml index 5ac64a062..195d733de 100644 --- a/.github/workflows/lint_mypy.yml +++ b/.github/workflows/lint_mypy.yml @@ -1,5 +1,9 @@ name: LintMypy +concurrency: + group: mypy-${{ github.head_ref }} + cancel-in-progress: true + on: push: paths: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 2a21835aa..a791affdd 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,5 +1,9 @@ name: macos +concurrency: + group: macos-${{ github.head_ref }} + cancel-in-progress: true + on: push: paths: diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml index 846059021..f7772211d 100644 --- a/.github/workflows/msys2.yml +++ b/.github/workflows/msys2.yml @@ -1,5 +1,9 @@ name: msys2 +concurrency: + group: msys2-${{ github.head_ref }} + cancel-in-progress: true + on: push: paths: diff --git a/.github/workflows/nonative.yml b/.github/workflows/nonative.yml index d6bdfa6de..e541da3f4 100644 --- a/.github/workflows/nonative.yml +++ b/.github/workflows/nonative.yml @@ -1,5 +1,9 @@ name: Cross-only compilation environment +concurrency: + group: nonative-${{ github.head_ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/os_comp.yml b/.github/workflows/os_comp.yml index 5abcd1062..6d4ed7a94 100644 --- a/.github/workflows/os_comp.yml +++ b/.github/workflows/os_comp.yml @@ -1,5 +1,9 @@ name: linux +concurrency: + group: linux-${{ github.head_ref }} + cancel-in-progress: true + on: push: branches: diff --git a/.github/workflows/unusedargs_missingreturn.yml b/.github/workflows/unusedargs_missingreturn.yml index 7b4379bf3..a32e28d0b 100644 --- a/.github/workflows/unusedargs_missingreturn.yml +++ b/.github/workflows/unusedargs_missingreturn.yml @@ -9,6 +9,10 @@ env: CPPFLAGS: "-Werror=unused-parameter -Werror=return-type" FFLAGS: "-fimplicit-none" +concurrency: + group: unusedargs-${{ github.head_ref }} + cancel-in-progress: true + on: push: paths: diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 3fee7bfe7..efb7fed7e 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -1,5 +1,10 @@ name: Update website +concurrency: + group: mesonbuild.com + # We do NOT want `cancel-in-progress` here since only one website job + # should run at a time to avoid upload race condtions. + on: push: branches: