From d0e1159b5ccba31dfa3cbbcc050d35c9b0f9b1c7 Mon Sep 17 00:00:00 2001 From: Imani Manyara Date: Tue, 6 Oct 2026 07:24:48 -0400 Subject: [PATCH] Pause PyPI publishing until PUBLISH_PYPI is set The owner has paused all PyPI publishing until further notice. Each job that uploads to PyPI now runs only when the repository or org variable PUBLISH_PYPI is 'true'; tags still build and publish the GitHub release. --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2210ad5..39bc9c5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,6 +90,9 @@ jobs: # If either step is missing the upload fails with `invalid-publisher`. # See docs/release.md for the full restoration recipe. publish-pypi: + # PyPI publishing is paused until the owner sets the repository (or org) + # variable PUBLISH_PYPI to 'true'. Tags still build and release on GitHub. + if: ${{ vars.PUBLISH_PYPI == 'true' }} needs: build runs-on: ubuntu-latest environment: pypi