From 6efd78b0884eb1222b6e971221a0a69565fd534b Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Fri, 27 Jun 2025 15:02:52 +0200 Subject: [PATCH] Configure concurrency to cancel "In progress" actions The styfle/cancel-workflow-action is no longer necessary to accomplish this nowadays. See: https://github.com/styfle/cancel-workflow-action --- .github/workflows/ci_cd.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 3a4611d..fb7e084 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -16,6 +16,10 @@ on: # Manual trigger workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: build: @@ -23,12 +27,6 @@ jobs: runs-on: ubuntu-latest steps: - - - name: Cancel previous runs - uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 - with: - access_token: ${{ github.token }} - - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4