From fba272205ebd5d4caac4cb911720268ea6f8b147 Mon Sep 17 00:00:00 2001 From: zrezke Date: Thu, 22 Feb 2024 19:02:53 +0100 Subject: [PATCH] Prohibit workflow_dispatch from releasing to pypi --- .github/workflows/python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 749927c64b1e..bb4ea4eabee2 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -293,7 +293,7 @@ jobs: tagged-release: name: Release runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/v') + if: startsWith(github.ref, 'refs/tags/v') && github.event_name != 'workflow_dispatch' needs: [wheels] steps: - name: Download Artifact