mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-01 17:35:19 +00:00
github: Trigger the build job on PRs
And not on pushes only. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
8cbb6d0faf
commit
63c5d09537
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -1,9 +1,9 @@
|
||||
name: Cloud Hypervisor Actions
|
||||
on: [push, create]
|
||||
on: [pull_request, create]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.event_name == 'push'
|
||||
if: github.event_name == 'pull_request'
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
Loading…
x
Reference in New Issue
Block a user