diff --git a/.github/workflows/backward-compatibility-check.yml b/.github/workflows/backward-compatibility-check.yml index 71fd67dcd..e2ecd0d78 100644 --- a/.github/workflows/backward-compatibility-check.yml +++ b/.github/workflows/backward-compatibility-check.yml @@ -5,6 +5,10 @@ name: "Backward Compatibility Check" on: pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: roave-backwards-compatibility-check: name: "Backward Compatibility Check" diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 755777f9f..ab820b408 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -5,6 +5,10 @@ name: "Benchmark" on: pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: phpbench: name: "Benchmark" diff --git a/.github/workflows/coding-standard.yml b/.github/workflows/coding-standard.yml index 71ea02632..78a6edcb7 100644 --- a/.github/workflows/coding-standard.yml +++ b/.github/workflows/coding-standard.yml @@ -9,6 +9,10 @@ on: - "[0-9]+.[0-9]+.x" - "renovate/*" +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: static-analysis-coding-standard: name: "Static Analysis by patchlevel/coding-standard" diff --git a/.github/workflows/docs-check.yml b/.github/workflows/docs-check.yml index 29d217303..db22a1f4a 100644 --- a/.github/workflows/docs-check.yml +++ b/.github/workflows/docs-check.yml @@ -8,6 +8,10 @@ on: branches: - "[0-9]+.[0-9]+.x" +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: checkdocs: name: "Check Docs" diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index b2fb08829..a67f46626 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -9,6 +9,10 @@ on: - "[0-9]+.[0-9]+.x" - "renovate/*" +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: postgres: name: "Postgres" diff --git a/.github/workflows/mutation-tests-diff.yml b/.github/workflows/mutation-tests-diff.yml index 06061021d..4933ac43e 100644 --- a/.github/workflows/mutation-tests-diff.yml +++ b/.github/workflows/mutation-tests-diff.yml @@ -5,6 +5,10 @@ name: "Mutation tests on diff" on: pull_request: +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: mutation-tests-diff: name: "Mutation tests on diff" diff --git a/.github/workflows/mutation-tests.yml b/.github/workflows/mutation-tests.yml index d46bdd415..0f44505f0 100644 --- a/.github/workflows/mutation-tests.yml +++ b/.github/workflows/mutation-tests.yml @@ -9,6 +9,10 @@ on: - "[0-9]+.[0-9]+.x" - "renovate/*" +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: mutation-tests: name: "Mutation tests" diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 9e00732e9..e71347b4d 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -9,6 +9,10 @@ on: - "[0-9]+.[0-9]+.x" - "renovate/*" +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: static-analysis-phpstan: name: "Static Analysis by PHPStan" diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 06d7b4586..22a7699dd 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -9,6 +9,10 @@ on: - "[0-9]+.[0-9]+.x" - "renovate/*" +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} + cancel-in-progress: true + jobs: phpunit: name: "Unit tests"