From 281e8da7eb51472aff0b1147d80f159c554eb04f Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Mon, 26 Oct 2020 09:29:05 -0700 Subject: [PATCH] Don't build CI on non-master pushes --- .github/workflows/linux-ci.yml | 5 ++++- .github/workflows/msvc-ci.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux-ci.yml b/.github/workflows/linux-ci.yml index 7dba5ef..b2598ed 100644 --- a/.github/workflows/linux-ci.yml +++ b/.github/workflows/linux-ci.yml @@ -1,5 +1,8 @@ name: Linux-CI -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: jobs: build: diff --git a/.github/workflows/msvc-ci.yml b/.github/workflows/msvc-ci.yml index a18ce30..79af93b 100644 --- a/.github/workflows/msvc-ci.yml +++ b/.github/workflows/msvc-ci.yml @@ -1,5 +1,8 @@ name: MSVC-CI -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: jobs: build: