From d0d6cb55c874a6e527e3b9d7ebe8e7c59becf016 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Fri, 16 Aug 2024 16:05:53 -0400 Subject: [PATCH] ci: Only run PyPI on master (to not spam contributors with failures), closes #1261 --- .github/workflows/pypi.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index a1931b4d..75927a70 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -1,5 +1,7 @@ name: Publish to PyPI -on: push +on: + push: + branches: [master] jobs: build: runs-on: ubuntu-latest