From 0567d5504bd7a9f4198e015abf2c1d8359e91a65 Mon Sep 17 00:00:00 2001 From: Murderlon Date: Wed, 2 Oct 2024 13:12:14 +0200 Subject: [PATCH] Remove cancel-workflow-action from CI --- .github/workflows/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a1f3765..b28b6aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,9 @@ on: paths: - .github/workflows/ci.yml -concurrency: ${{ github.workflow }}--${{ github.ref }} +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: main: @@ -19,9 +21,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.12.1 - - name: Checkout Repository uses: actions/checkout@v4