From a2cc7542cc59ab4fad3b59f852baede551af64cc Mon Sep 17 00:00:00 2001 From: Guillaume Date: Sat, 24 Jan 2026 15:21:04 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Use=20GitHub=20concurrency?= =?UTF-8?q?=20instead=20of=20styfle/cancel-workflow-action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/continuous_integration.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 49ffa10..08941aa 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -6,6 +6,10 @@ on: branches: - master +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} + jobs: continuous-integration: @@ -25,12 +29,6 @@ jobs: fail-fast: false steps: - # Cancel previous runs of the same branch - - name: cancel - uses: styfle/cancel-workflow-action@0.10.0 - with: - access_token: ${{ github.token }} - - name: "Checkout" uses: "actions/checkout@v3" @@ -58,4 +56,4 @@ jobs: run: | composer update ${{ matrix.install-args }} --no-interaction --no-progress --prefer-dist - name: "Run tests with phpunit/phpunit" - run: "vendor/bin/phpunit" \ No newline at end of file + run: "vendor/bin/phpunit"