Ivan Zlenko created IGNITE-24920:
------------------------------------
Summary: Make a commit hook to verify commit message for Ignite 3
commits
Key: IGNITE-24920
URL: https://issues.apache.org/jira/browse/IGNITE-24920
Project: Ignite
Issue Type: Improvement
Components: build
Reporter: Ivan Zlenko
We need to add a commit hook so we can verify that commit message following
correct format set in our company.
The following rules should apply:
# Commit message should start with a ticket number matching pattern
^IGNITE-[\d]+
# After commit number, separated only by whitespace, the short commit message
should follow
# Ideally we should verify that commit number in commit message should be the
same as the branch name.
These rules should apply for main branch and for branches matching
^IGNITE-[\d]+ pattern if it is possible. Or for the main branch only if it is
not. In that case incorrect commit message/PR title should prevent the merge
into the main branch.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)