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 c84b1ecd26 - Show all commits

fix(main): improve error message for invalid PR title
All checks were successful
Lint Pull Request / Lint Pr Title (pull_request) Successful in 9s

Jan K9f 2025-04-09 18:20:59 +02:00
Signed by: jank
GPG key ID: B9F475106B20F144

View file

@ -39,7 +39,7 @@ func main() {
prTitle := event.PullRequest.Title
semanticValidationErr := validation.ValidateConventionalCommit(prTitle)
if semanticValidationErr != nil {
fmt.Println("Invalid Pr Title")
fmt.Println(semanticValidationErr)
os.Exit(1)
}
os.Exit(0)