From 8b8d6d749c825764cb1457753490fb2df8523eab Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Fri, 13 Nov 2020 16:33:59 +0000 Subject: [PATCH] Prevent double-builds of the sample --- .github/workflows/sample_build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sample_build.yml b/.github/workflows/sample_build.yml index e25e8fa6..da08449d 100644 --- a/.github/workflows/sample_build.yml +++ b/.github/workflows/sample_build.yml @@ -1,6 +1,12 @@ name: Sample build -on: [push, pull_request] +on: + push: {} + pull_request: + branches: + # PRs from branches on the origin repo get a build from the 'push' + # trigger. So the pull_request trigger is limited to fork branches + - '**:**' jobs: build_wheels: