Refine CI concurrency group to better support Merge Queue

This commit is contained in:
vlakoff 2026-04-23 02:29:56 +02:00
parent fbe37b1edf
commit 21df92fcb8
No known key found for this signature in database
GPG key ID: D01DA5A5B698E332
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ on:
default: true
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.merge_group.head_ref || github.ref }}
cancel-in-progress: true
jobs:

View file

@ -9,7 +9,7 @@ on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.merge_group.head_ref || github.ref }}
cancel-in-progress: true
jobs: