I have a repository with a protected master branch and squash commit only enabled. I'd like to enforce validation of the commit message on completion of the PR. This is to check the engineer has placed the correct content in the PR description.
I think the best approach to do this is with a commit-msg hook. However, I'm not sure how I can get Azure DevOps to include and use Git Hooks during the PR merge process.
Is this possible? If not, I'm open to alternative suggestions on how to solve the problem.