diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0413402f..fecac2de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,9 @@ name: Publish Python 🐍 distribution 📦 to PyPI on: - push: - tags: - - '[0-9]+.[0-9]+.[0-9]+' + workflow_dispatch: # Only manual trigger and only for the main branch + branches: + - main jobs: build: