mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 03:15: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:
|
paths:
|
||||||
- '**/Cargo.toml'
|
- '**/Cargo.toml'
|
||||||
- '**/Cargo.lock'
|
- '**/Cargo.lock'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
security_audit:
|
security_audit:
|
||||||
name: Audit
|
name: Audit
|
||||||
|
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@ -1,9 +1,8 @@
|
|||||||
name: Cloud Hypervisor Build
|
name: Cloud Hypervisor Build
|
||||||
on: [pull_request, create]
|
on: [pull_request, merge_group]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
4
.github/workflows/dco.yaml
vendored
4
.github/workflows/dco.yaml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: DCO
|
name: DCO
|
||||||
on:
|
on: [pull_request, merge_group]
|
||||||
pull_request:
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest
|
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
|
name: Cloud Hypervisor's Docker image update
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: main
|
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
|
name: Cloud Hypervisor Cargo Fuzz Build
|
||||||
on: [pull_request, create]
|
on: [pull_request, merge_group]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
name: Cargo Fuzz Build
|
name: Cargo Fuzz Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
1
.github/workflows/gitlint.yaml
vendored
1
.github/workflows/gitlint.yaml
vendored
@ -1,5 +1,4 @@
|
|||||||
name: Commit messages check
|
name: Commit messages check
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
1
.github/workflows/hadolint.yaml
vendored
1
.github/workflows/hadolint.yaml
vendored
@ -1,5 +1,4 @@
|
|||||||
name: Lint Dockerfile
|
name: Lint Dockerfile
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
|
3
.github/workflows/integration-arm64.yaml
vendored
3
.github/workflows/integration-arm64.yaml
vendored
@ -1,10 +1,9 @@
|
|||||||
name: Cloud Hypervisor Tests (ARM64)
|
name: Cloud Hypervisor Tests (ARM64)
|
||||||
on: [pull_request, create]
|
on: [pull_request, merge_group]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
name: Tests (ARM64)
|
name: Tests (ARM64)
|
||||||
runs-on: focal-arm64
|
runs-on: focal-arm64
|
||||||
steps:
|
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)
|
name: Cloud Hypervisor Tests (Windows Guest)
|
||||||
on: [pull_request, create]
|
on: [merge_group]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
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)
|
name: Cloud Hypervisor Tests (x86-64)
|
||||||
on: [pull_request, create]
|
on: [pull_request, merge_group]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -9,7 +9,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
runner: ["garm-jammy", "garm-jammy-amd"]
|
runner: ["garm-jammy", "garm-jammy-amd"]
|
||||||
libc: ["musl", "gnu"]
|
libc: ["musl", "gnu"]
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
name: Tests (x86-64)
|
name: Tests (x86-64)
|
||||||
runs-on: ${{ matrix.runner }}
|
runs-on: ${{ matrix.runner }}
|
||||||
steps:
|
steps:
|
||||||
|
4
.github/workflows/openapi.yaml
vendored
4
.github/workflows/openapi.yaml
vendored
@ -1,7 +1,5 @@
|
|||||||
name: Cloud Hypervisor OpenAPI Validation
|
name: Cloud Hypervisor OpenAPI Validation
|
||||||
|
on: [pull_request, merge_group]
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Validate:
|
Validate:
|
||||||
|
3
.github/workflows/quality.yaml
vendored
3
.github/workflows/quality.yaml
vendored
@ -1,9 +1,8 @@
|
|||||||
name: Cloud Hypervisor Quality Checks
|
name: Cloud Hypervisor Quality Checks
|
||||||
on: [pull_request, create]
|
on: [pull_request, merge_group]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
name: Quality (clippy, rustfmt)
|
name: Quality (clippy, rustfmt)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
continue-on-error: ${{ matrix.experimental }}
|
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
|
name: Cloud Hypervisor Release
|
||||||
on: [pull_request, create]
|
on: [pull_request, create, merge_group]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
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
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
2
.github/workflows/shlint.yaml
vendored
2
.github/workflows/shlint.yaml
vendored
@ -1,7 +1,7 @@
|
|||||||
name: Shell scripts check
|
name: Shell scripts check
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
merge_group:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
Loading…
Reference in New Issue
Block a user