From 0603a6e5024a9563288fd9110c8cb119162dd3b2 Mon Sep 17 00:00:00 2001 From: Caio Ariede Date: Mon, 23 Sep 2024 10:17:09 -0300 Subject: [PATCH] only publish if pull --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22c93d9..be84964 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,4 +53,5 @@ jobs: semantic-release ${{ github.event_name == 'pull_request' && '--dry-run' || '' }} - name: Publish release distributions to PyPI + if: ${{ github.event_name == 'push' }} uses: pypa/gh-action-pypi-publish@release/v1