Skip to content

Commit

Permalink
fixup error message
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeRed committed Jun 10, 2024
1 parent c82ffec commit dcae511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/pr-title.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Terminology: [bug(ui)]: Fix female trainer names
// Check if title pass regex
const regex = RegExp(/^\[[a-zA-Z]+(\([a-zA-Z]+\))?\]: .+/);
if (!regex.test(title)) {
core.setFailed(`Pull Request title "${title}" failed to match - 'Prefix(Scope): Subject'`);
core.setFailed(`Pull Request title "${title}" failed to match - '[Prefix(Scope)]: Subject'`);
return;
}

Expand Down

0 comments on commit dcae511

Please sign in to comment.