improve error message

This commit is contained in:
Guillaume Ballet 2025-08-22 09:34:03 +02:00 committed by GitHub
parent abb41887f9
commit d4f8daec22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ jobs:
const titleRegex = /^(\.?[\w\s,{}/]+): .+/;
if (!titleRegex.test(prTitle)) {
core.setFailed(`PR title "${prTitle}" does not match required format: type(scope): description`);
core.setFailed(`PR title "${prTitle}" does not match required format: directory, ...: description`);
return;
}