mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-08 12:41:35 +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
|
name: Cloud Hypervisor Actions
|
||||||
on: [push, create]
|
on: [pull_request, create]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'pull_request'
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user