mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-31 17:05:18 +00:00
build: Avoid cancellation of release build workflow on MQ
When running on the merge group this workflow is run twice - once for the create event (merge queue creates a new branch) and once for the merge_group event. Unfortunately the second event would cause the first to be cancelled - unfortunately sometimes that second event is the create event where the job in the workflow only runs if it is also a tag. By creating distinct concurrency groups for each event type then the cross cancellation can be avoided. Signed-off-by: Rob Bradford <rbradford@rivosinc.com> (cherry picked from commit 6f49d7f192beb7224ec7187debe250e97909ad23)
This commit is contained in:
parent
c588138187
commit
26cab16830
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -1,7 +1,7 @@
|
||||
name: Cloud Hypervisor Release
|
||||
on: [create, merge_group]
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user