mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
build: Cancel in progress actions on update
If the PR updated cancel outstanding jobs to conserve resources. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
3e35529842
commit
1db30405e1
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@ -1,5 +1,8 @@
|
||||
name: Cloud Hypervisor Build
|
||||
on: [pull_request, merge_group]
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
3
.github/workflows/docker-image.yaml
vendored
3
.github/workflows/docker-image.yaml
vendored
@ -5,6 +5,9 @@ on:
|
||||
paths: resources/Dockerfile
|
||||
pull_request:
|
||||
paths: resources/Dockerfile
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
|
3
.github/workflows/fuzz-build.yaml
vendored
3
.github/workflows/fuzz-build.yaml
vendored
@ -1,5 +1,8 @@
|
||||
name: Cloud Hypervisor Cargo Fuzz Build
|
||||
on: [pull_request, merge_group]
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
3
.github/workflows/integration-windows.yaml
vendored
3
.github/workflows/integration-windows.yaml
vendored
@ -1,5 +1,8 @@
|
||||
name: Cloud Hypervisor Tests (Windows Guest)
|
||||
on: [merge_group, pull_request]
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
3
.github/workflows/integration-x86-64.yaml
vendored
3
.github/workflows/integration-x86-64.yaml
vendored
@ -1,5 +1,8 @@
|
||||
name: Cloud Hypervisor Tests (x86-64)
|
||||
on: [pull_request, merge_group]
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
3
.github/workflows/quality.yaml
vendored
3
.github/workflows/quality.yaml
vendored
@ -1,5 +1,8 @@
|
||||
name: Cloud Hypervisor Quality Checks
|
||||
on: [pull_request, merge_group]
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
@ -1,5 +1,8 @@
|
||||
name: Cloud Hypervisor Release
|
||||
on: [create, merge_group]
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
release:
|
||||
|
Loading…
Reference in New Issue
Block a user