From 07310e2a146e28e89574af3e7ee9a60b7c3dc7e8 Mon Sep 17 00:00:00 2001 From: cybardev Date: Wed, 24 Jan 2024 13:03:28 -0400 Subject: [PATCH] fix: only run pipeline on tag push --- .github/workflows/pypi.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index ae7bcb5..9542f0e 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -2,8 +2,6 @@ name: Publish Python distribution to PyPI and TestPyPI on: push: - branches: - - main tags: - "v*" @@ -35,7 +33,6 @@ jobs: publish-to-pypi: name: >- Publish Python distribution to PyPI - if: startsWith(github.ref, 'refs/tags/') # only publish on tag pushes needs: - build runs-on: ubuntu-latest @@ -99,7 +96,6 @@ jobs: publish-to-testpypi: name: Publish Python distribution to TestPyPI - if: startsWith(github.ref, 'refs/tags/') # only publish on tag pushes needs: - build runs-on: ubuntu-latest