From 35270f58cf83562c003e9450240910e7099f7a21 Mon Sep 17 00:00:00 2001 From: Jacob Perron Date: Mon, 24 Jan 2022 18:16:31 -0800 Subject: [PATCH] Update workflow Run CI on all PRs and not commits to default branch. Signed-off-by: Jacob Perron --- .github/workflows/ci.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6653702..77852b5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,12 +1,9 @@ name: Build and test + on: - # Run for any commit in origin repository push: - # And pull requests from forks + branches: ['master'] pull_request: - branches: - # This avoids running the job twice for PRs from origin repository - - '**:**' env: BUILD_TYPE: Release