diff --git a/git_automation/check_commit_msg b/git_automation/check_commit_msg index 3318342..0cfbe79 100755 --- a/git_automation/check_commit_msg +++ b/git_automation/check_commit_msg @@ -13,6 +13,10 @@ if echo "$commitTitle" | grep -qE "Merge branch"; then exit 0 fi +if ! echo "$commitTitle" | grep "Automatically generated "; then + exit 0 +fi + # check semantic versioning scheme if ! echo "$commitTitle" | grep -qE '^(feat|fix|docs|style|refactor|perf|test|chore|build|ci|revert)(\([a-z0-9\s\-\_\,]+\))?!?:\s\w'; then echo "Your commit message did not follow semantic versioning: $commitTitle"