feat: Configure deploy workflow concurrency to dynamically group by environment and enable in-progress cancellation.

This commit is contained in:
2026-02-02 14:17:04 +01:00
parent e5908c757c
commit 7f4f970a38

View File

@@ -14,8 +14,8 @@ on:
default: 'false'
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
group: ${{ github.workflow }}-${{ (github.ref_type == 'tag' && !contains(github.ref_name, '-')) && 'prod' || (github.ref_type == 'tag' && 'staging' || 'testing') }}
cancel-in-progress: true
jobs:
# ──────────────────────────────────────────────────────────────────────────────