From 0b2adabfe8f141daf4c1781056b6bf684febd7fd Mon Sep 17 00:00:00 2001 From: janbridley <55467578+janbridley@users.noreply.github.com> Date: Wed, 19 Feb 2025 16:04:18 -0500 Subject: [PATCH] Only run testPyPi on labeled PRs --- .github/workflows/pypi-test-and-publish.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pypi-test-and-publish.yaml b/.github/workflows/pypi-test-and-publish.yaml index a805ab4..2f2d7c7 100644 --- a/.github/workflows/pypi-test-and-publish.yaml +++ b/.github/workflows/pypi-test-and-publish.yaml @@ -36,6 +36,7 @@ jobs: publish-to-testpypi: name: Publish to TestPyPI needs: [build] + if: ${{ github.event.label.name == 'TestPyPi' }} runs-on: ubuntu-latest environment: name: testpypi