Rather than manually trigger a PyPI release on the publish workflow, we could automate it so when tags are pushed a release is built and pushed to PyPI, see this comment
name: PyPI/Github Release
on:
push:
tags:
- "v*"
jobs:
build_wheels:
runs-on: ${{ matrix.os }}
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
strategy:
matrix:
...
thanks @andyfaff for the idea.