python-package-template
python-package-template copied to clipboard
Check commit messages when pushing directly to mainstream branches.
The pr-conventional-commits.yaml checks whether all commits for the PR comply to conventional commits format.
However, we can also push a bunch of commits directly to the remote staging or even main branches, and those commits would not be checked! We should consider a reusable workflow to check a range of commits and call that workflow for pushes to any branch.