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.
The
pr-conventional-commits.yamlchecks whether all commits for the PR comply to conventional commits format.However, we can also push a bunch of commits directly to the remote
stagingor evenmainbranches, 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.