From dcae5115e71a7d5c30d64315eb91a85803fb421a Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Sun, 9 Jun 2024 22:08:38 -0400 Subject: [PATCH] fixup error message --- .github/scripts/pr-title.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/pr-title.ts b/.github/scripts/pr-title.ts index 30edfa9a4c9..4e75a4565df 100644 --- a/.github/scripts/pr-title.ts +++ b/.github/scripts/pr-title.ts @@ -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; }