From b5fa0f872cf9f1e0affbc3dd62710ae9e1b8ba55 Mon Sep 17 00:00:00 2001 From: David McClosky Date: Mon, 26 Feb 2024 17:21:53 -1000 Subject: [PATCH 1/2] Disable automatic release to PyPI 1. This is currently not configured correctly, so it's always erroring. 2. There's probably a more focused trigger which would do this automatically on release tag creation. However, in the meantime, it's getting run on PRs, which is not great. For now, let's limit it to manual. --- .github/workflows/release-to-pypi.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/release-to-pypi.yml b/.github/workflows/release-to-pypi.yml index e351f65..554f575 100644 --- a/.github/workflows/release-to-pypi.yml +++ b/.github/workflows/release-to-pypi.yml @@ -1,8 +1,5 @@ name: Build and Release to PyPI on: - create: - tags: - - '*' workflow_dispatch: jobs: From f239880eeda456879bfe43e66f5aea7f768b8999 Mon Sep 17 00:00:00 2001 From: David McClosky Date: Fri, 15 Mar 2024 15:12:47 -0400 Subject: [PATCH 2/2] Remove PyPI release until we're ready to fix it --- .github/workflows/release-to-pypi.yml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .github/workflows/release-to-pypi.yml diff --git a/.github/workflows/release-to-pypi.yml b/.github/workflows/release-to-pypi.yml deleted file mode 100644 index 554f575..0000000 --- a/.github/workflows/release-to-pypi.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Build and Release to PyPI -on: - workflow_dispatch: - -jobs: - pypi-publish: - name: Upload release to PyPI - runs-on: ubuntu-latest - permissions: - # This permission is needed for private repositories. - contents: read - # IMPORTANT: This permission is mandatory for trusted publishing. - id-token: write - steps: - - uses: actions/checkout@v4 - - - uses: pdm-project/setup-pdm@v4 - - - name: Publish package distributions to PyPI - run: pdm publish --user ${{ secrets.PYPI_USERNAME }} --password ${{ secrets.PYPI_PASSWORD }}