From 90435b5d214e826f631db8f054fde3e841b86498 Mon Sep 17 00:00:00 2001 From: Peet Whittaker Date: Thu, 18 Jan 2024 12:58:57 +0000 Subject: [PATCH] Fix CI build duplication when submitting a PR --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0e77c6..2c908fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,13 @@ name: Build and test -on: [push, pull_request] +# https://stackoverflow.com/a/70767151/3628232 +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: test: