From ed1da1bd9cef278a92023694b613b0f03def7847 Mon Sep 17 00:00:00 2001 From: Wade Simmons Date: Wed, 11 Dec 2019 22:47:40 -0500 Subject: [PATCH] Fix Github actions duplicate builds We were building for any commits AND pull requests. This change makes it so we only build for commits to master AND pull requests. --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d64863b..79e5946 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,9 @@ name: Build and test -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: jobs: test-linux: