You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log('PR title or description format is correct.');
29
+
if (hasJiraTitle) {
30
+
console.log('PR title format is correct.');
32
31
} else {
33
-
const errorMessage = [];
34
-
errorMessage.push('The PR title and description do not include a valid JIRA ticket!');
35
-
console.log(errorMessage.join('\n'));
32
+
const errorMessage = 'The PR title must start with a valid JIRA ticket with 3-6 digits (e.g., ABC-123, DATAPLATFORM-12345). The ticket must be at the start, use at least 3 uppercase letters, and the number must not be all zeros.';
0 commit comments