diff --git a/.github/workflows/python-publish-release.yml b/.github/workflows/python-publish-release.yml index ebf0a2a386..d1c15cd5f3 100644 --- a/.github/workflows/python-publish-release.yml +++ b/.github/workflows/python-publish-release.yml @@ -69,7 +69,7 @@ jobs: publish: needs: [build_wheels] runs-on: ubuntu-latest - if: github.event_name == 'release' && github.event.prerelease == false && github.event.action == 'published' + if: github.event_name == 'release' && github.event.action == 'released' permissions: id-token: write steps: