From a8a367c743d3558a33b15b82bf8e38fbf6233e4a Mon Sep 17 00:00:00 2001 From: Guillaume Date: Sat, 24 Jan 2026 15:10:53 +0100 Subject: [PATCH] :recycle: Use GitHub concurrency instead of styfle/cancel-workflow-action --- .github/workflows/test.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d679883..72952e7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -5,6 +5,10 @@ on: branches: - master +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} + jobs: test: runs-on: ubuntu-latest @@ -15,12 +19,6 @@ jobs: php-version: ['8.2', '8.3', '8.4'] fail-fast: false steps: - # Cancel previous runs of the same branch - - name: cancel - uses: styfle/cancel-workflow-action@0.12.1 - with: - access_token: ${{ github.token }} - - name: checkout uses: actions/checkout@v6