From 960dba98c8f5a36ea86cd65e9135dcb90438a1a2 Mon Sep 17 00:00:00 2001 From: Luca Doglione Date: Wed, 8 May 2024 15:34:19 +0200 Subject: [PATCH] Refining concurrency for preview workflow --- .github/workflows/preview.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 3009a15840..6375335198 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -5,16 +5,16 @@ on: types: [opened, synchronize, labeled] concurrency: - group: netlify - cancel-in-progress: false + group: netlify-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: run: if: contains(github.event.pull_request.labels.*.name, 'preview') runs-on: ubuntu-latest concurrency: - group: netlify-${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true + group: netlify + cancel-in-progress: false env: REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} APP_ENV: prod