mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 11:25: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
|
name: Cloud Hypervisor Build
|
||||||
on: [pull_request, merge_group]
|
on: [pull_request, merge_group]
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
3
.github/workflows/docker-image.yaml
vendored
3
.github/workflows/docker-image.yaml
vendored
@ -5,6 +5,9 @@ on:
|
|||||||
paths: resources/Dockerfile
|
paths: resources/Dockerfile
|
||||||
pull_request:
|
pull_request:
|
||||||
paths: resources/Dockerfile
|
paths: resources/Dockerfile
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
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
|
name: Cloud Hypervisor Cargo Fuzz Build
|
||||||
on: [pull_request, merge_group]
|
on: [pull_request, merge_group]
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
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)
|
name: Cloud Hypervisor Tests (Windows Guest)
|
||||||
on: [merge_group, pull_request]
|
on: [merge_group, pull_request]
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
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)
|
name: Cloud Hypervisor Tests (x86-64)
|
||||||
on: [pull_request, merge_group]
|
on: [pull_request, merge_group]
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
3
.github/workflows/quality.yaml
vendored
3
.github/workflows/quality.yaml
vendored
@ -1,5 +1,8 @@
|
|||||||
name: Cloud Hypervisor Quality Checks
|
name: Cloud Hypervisor Quality Checks
|
||||||
on: [pull_request, merge_group]
|
on: [pull_request, merge_group]
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
@ -1,5 +1,8 @@
|
|||||||
name: Cloud Hypervisor Release
|
name: Cloud Hypervisor Release
|
||||||
on: [create, merge_group]
|
on: [create, merge_group]
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
Loading…
Reference in New Issue
Block a user