Skip to content

Commit

Permalink
build: Enable CI jobs to run on merge_group
Browse files Browse the repository at this point in the history
In preparation for enabling a merge queue trigger the jobs on
merge_group event.

Also drop running these actions on "create" event as that is
unnecessary.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
  • Loading branch information
rbradford committed Mar 19, 2024
1 parent aa5a5bc commit 066190d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: Rust Hypervisor Firmware Build
on: [pull_request, create]
on: [pull_request, merge_group]

env:
RUSTFLAGS: "-D warnings"

jobs:
build:
if: github.event_name == 'pull_request'
name: Build
runs-on: ubuntu-22.04
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Rust Hypervisor Firmware Tests
on: [pull_request, create]
on: [pull_request, merge_group]

jobs:
build:
Expand Down

0 comments on commit 066190d

Please sign in to comment.