From 4db7a972f525c6958e34b1266aac6735afc3bcee Mon Sep 17 00:00:00 2001 From: Paul Hobson Date: Mon, 7 Oct 2024 22:50:12 -0700 Subject: [PATCH] switch workflow run to manual dispatch --- .github/workflows/python-publish-pypi.yml | 9 ++++----- .github/workflows/python-publish-testpypi.yml | 5 +---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-publish-pypi.yml b/.github/workflows/python-publish-pypi.yml index 53046a2..6de8410 100644 --- a/.github/workflows/python-publish-pypi.yml +++ b/.github/workflows/python-publish-pypi.yml @@ -1,9 +1,7 @@ name: Publish Python 🐍 distribution 📦 to PyPI on: - push: - # Pattern matched against refs/tags - tags: - - 'v*/release' # Push events to every that ends in /release + workflow_dispatch: + jobs: build: name: Build distribution 📦 @@ -15,6 +13,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.x" + - name: Install pypa/build run: >- python3 -m @@ -70,7 +69,7 @@ jobs: name: python-package-distributions path: dist/ - name: Sign the dists with Sigstore - uses: sigstore/gh-action-sigstore-python@v1.2.3 + uses: sigstore/gh-action-sigstore-python@v2.1.1 with: inputs: >- ./dist/*.tar.gz diff --git a/.github/workflows/python-publish-testpypi.yml b/.github/workflows/python-publish-testpypi.yml index 0e11cbb..d7b300d 100644 --- a/.github/workflows/python-publish-testpypi.yml +++ b/.github/workflows/python-publish-testpypi.yml @@ -1,10 +1,7 @@ name: Publish Python 🐍 distribution 📦 to TestPyPI on: - push: - # Pattern matched against refs/tags - tags: - - 'v**test*' # Push events to every that ends in "test[something]" (can have many /-levels) + workflow_dispatch: jobs: build: