feat: initial implementation #5

Merged
jank merged 21 commits from main into release 2025-04-09 16:25:18 +00:00
Showing only changes of commit 9b1a6a928e - Show all commits

View file

@ -17,7 +17,7 @@ func ValidateConventionalCommit(commit string) error {
match := re.FindStringSubmatch(commit)
if len(match) == 0 {
return fmt.Errorf("invalid commit format")
return fmt.Errorf("Invalid PR title")
}
typeIndex := re.SubexpIndex("type")