The scenario. In the repo of a private team, the workflow is to work with feature branches, no forks.
When we are working on those branches, it happens we commit unclean commits, e.g.
at the end of the day and pushing to the repo to avoid keeping something only on our laptops
or to quick fix a few things
It is a work place, that need to be tidied up. But the commit checks can be delayed until the merge actions.
Commit Policy Plugin for Bitbucket plugin integrates in the merge checks (the only issue is the hard dependency on jira). This plugin only integrates in the hook, that would be great to allow such usage.