From 829ee373cf75caf7b3e92d7bbfad15d64067c623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bundyra?= Date: Fri, 1 Dec 2023 22:19:26 +0000 Subject: [PATCH] concurrency cancel-in-progress --- .github/workflows/phpunit.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 4f86a52..db07427 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -5,6 +5,10 @@ on: schedule: - cron: "0 0 * * *" +concurrency: + group: ${{ github.head_ref || 'cron' }} + cancel-in-progress: true + jobs: phpunit: name: PHPUnit tests on PHP ${{ matrix.php-version }}