From 2a2e2532a0c2304a503b6ca201740662e863a068 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Fri, 1 Mar 2024 16:10:38 +0000 Subject: [PATCH] Only trigger publish on release:publish event --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fe595b77..f7352236 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,9 +5,11 @@ on: pull_request: branches: # Commits pushed to release/ branches are published on Test PyPI if they - # have a new version number. + # have a new version number. This allows the maintainer to check the release + # before it is pushed to the actual PyPI index. - release/** release: + publish: jobs: