tools: notify on Slack when invalid commit lands
Check every commits that land on main
with core-validate-commit
and send a message on Slack if it reports and error. If the commit title contains a reference to a PR in the format that GitHub uses by default, it also adds a comment to the PR.
Refs: https://github.com/nodejs/node/pull/47111#issuecomment-1474791999
/cc @nodejs/tsc