mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
build: Ensure all required checks run on merge_group
And clean up some of the whitespace formatting so that the "name" and "on" are grouped away from the "jobs". Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
1d098949b9
commit
d9f48505fe
1
.github/workflows/audit.yaml
vendored
1
.github/workflows/audit.yaml
vendored
@ -4,6 +4,7 @@ on:
|
||||
paths:
|
||||
- '**/Cargo.toml'
|
||||
- '**/Cargo.lock'
|
||||
|
||||
jobs:
|
||||
security_audit:
|
||||
name: Audit
|
||||
|
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@ -1,9 +1,8 @@
|
||||
name: Cloud Hypervisor Build
|
||||
on: [pull_request, create]
|
||||
on: [pull_request, merge_group]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.event_name == 'pull_request'
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
|
4
.github/workflows/dco.yaml
vendored
4
.github/workflows/dco.yaml
vendored
@ -1,6 +1,6 @@
|
||||
name: DCO
|
||||
on:
|
||||
pull_request:
|
||||
on: [pull_request, merge_group]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
|
1
.github/workflows/docker-image.yaml
vendored
1
.github/workflows/docker-image.yaml
vendored
@ -1,5 +1,4 @@
|
||||
name: Cloud Hypervisor's Docker image update
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: main
|
||||
|
3
.github/workflows/fuzz-build.yaml
vendored
3
.github/workflows/fuzz-build.yaml
vendored
@ -1,9 +1,8 @@
|
||||
name: Cloud Hypervisor Cargo Fuzz Build
|
||||
on: [pull_request, create]
|
||||
on: [pull_request, merge_group]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.event_name == 'pull_request'
|
||||
name: Cargo Fuzz Build
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
|
1
.github/workflows/gitlint.yaml
vendored
1
.github/workflows/gitlint.yaml
vendored
@ -1,5 +1,4 @@
|
||||
name: Commit messages check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
|
1
.github/workflows/hadolint.yaml
vendored
1
.github/workflows/hadolint.yaml
vendored
@ -1,5 +1,4 @@
|
||||
name: Lint Dockerfile
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
|
3
.github/workflows/integration-arm64.yaml
vendored
3
.github/workflows/integration-arm64.yaml
vendored
@ -1,10 +1,9 @@
|
||||
name: Cloud Hypervisor Tests (ARM64)
|
||||
on: [pull_request, create]
|
||||
on: [pull_request, merge_group]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
timeout-minutes: 60
|
||||
if: github.event_name == 'pull_request'
|
||||
name: Tests (ARM64)
|
||||
runs-on: focal-arm64
|
||||
steps:
|
||||
|
2
.github/workflows/integration-windows.yaml
vendored
2
.github/workflows/integration-windows.yaml
vendored
@ -1,5 +1,5 @@
|
||||
name: Cloud Hypervisor Tests (Windows Guest)
|
||||
on: [pull_request, create]
|
||||
on: [merge_group]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
3
.github/workflows/integration-x86-64.yaml
vendored
3
.github/workflows/integration-x86-64.yaml
vendored
@ -1,5 +1,5 @@
|
||||
name: Cloud Hypervisor Tests (x86-64)
|
||||
on: [pull_request, create]
|
||||
on: [pull_request, merge_group]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -9,7 +9,6 @@ jobs:
|
||||
matrix:
|
||||
runner: ["garm-jammy", "garm-jammy-amd"]
|
||||
libc: ["musl", "gnu"]
|
||||
if: github.event_name == 'pull_request'
|
||||
name: Tests (x86-64)
|
||||
runs-on: ${{ matrix.runner }}
|
||||
steps:
|
||||
|
4
.github/workflows/openapi.yaml
vendored
4
.github/workflows/openapi.yaml
vendored
@ -1,7 +1,5 @@
|
||||
name: Cloud Hypervisor OpenAPI Validation
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
on: [pull_request, merge_group]
|
||||
|
||||
jobs:
|
||||
Validate:
|
||||
|
3
.github/workflows/quality.yaml
vendored
3
.github/workflows/quality.yaml
vendored
@ -1,9 +1,8 @@
|
||||
name: Cloud Hypervisor Quality Checks
|
||||
on: [pull_request, create]
|
||||
on: [pull_request, merge_group]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.event_name == 'pull_request'
|
||||
name: Quality (clippy, rustfmt)
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: ${{ matrix.experimental }}
|
||||
|
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -1,9 +1,9 @@
|
||||
name: Cloud Hypervisor Release
|
||||
on: [pull_request, create]
|
||||
on: [pull_request, create, merge_group]
|
||||
|
||||
jobs:
|
||||
release:
|
||||
if: (github.event_name == 'create' && github.event.ref_type == 'tag') || github.event_name == 'pull_request'
|
||||
if: (github.event_name == 'create' && github.event.ref_type == 'tag') || github.event_name == 'pull_request' || github.event_name == 'merge_group'
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
2
.github/workflows/shlint.yaml
vendored
2
.github/workflows/shlint.yaml
vendored
@ -1,7 +1,7 @@
|
||||
name: Shell scripts check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
merge_group:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
Loading…
Reference in New Issue
Block a user