From 7fc8f6d6b22520829ce43a2e195e95de1a799c10 Mon Sep 17 00:00:00 2001 From: williamgilpin Date: Thu, 3 Oct 2024 22:25:14 +0200 Subject: [PATCH] change pypi action to occur only on release --- .github/workflows/python-publish.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 1210eb9..b7a704b 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -9,10 +9,8 @@ name: Upload Python Package on: - push: - branches: - - master - + release: + types: [published] permissions: contents: read