diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5ae4b0d..2ef70fe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,8 @@ on: pull_request: branches: - main + release: + types: [created] jobs: lint: @@ -49,7 +51,7 @@ jobs: publish-to-pypi: name: Publish Python 🐍 distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags/') - needs: [build] + needs: [lint, build] runs-on: ubuntu-latest environment: name: pypi