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>
(cherry picked from commit d9f48505fe)
This commit is contained in:
Rob Bradford
2024-02-28 09:49:28 +00:00
committed by Bo Chen
parent 878c2275a2
commit 1f6b43db49
13 changed files with 12 additions and 21 deletions

View File

@@ -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 }}