From 63c5d09537abfdebd80598ca3674464b14b93cdd Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Thu, 12 Mar 2020 10:03:27 +0100 Subject: [PATCH] github: Trigger the build job on PRs And not on pushes only. Signed-off-by: Samuel Ortiz --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index db2c1c6d3..e4fc342f9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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: