Auto Publish:
I want to create a pre-push hook and a github action to automate the publishing of my project whenever I push changes to the main branch.
The pre-push hook should 
1. test the project
2. make sure worktree is clean
3. bump the version and commit the changes

The github action should publish to pypi.


Please implement.