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
commentContent="🤪 You have to make up your mind on how this PR addresses the issue. It either **fixes**, **closes** or **resolves** it. Can't have them all...";
1407
1408
}
1408
-
// TODO replace this with a regex
1409
-
//else if ( ( prBody.Contains("- Fixes") ||
1410
-
// prBody.Contains("- Closes") ||
1411
-
// prBody.Contains("- Resolves")) &&
1412
-
// prBody.Contains(" #"))
1413
-
//{
1414
-
// commentContent = ":disappointed: All our issues are tracked in Home repo. If this PR addresses an issue, make sure the reference to it follows the correct pattern: `nanoFramework/Home#NNNN`.";
1415
-
//}
1416
1409
else
1417
1410
{
1418
-
returntrue;
1411
+
// Define the regex pattern to match the GitHub link verbs and the pattern KEYWORD #NNNN
commentContent=":disappointed: All our issues are tracked in Home repo. If this PR addresses an issue, make sure the reference to it follows the correct pattern: `nanoFramework/Home#NNNN`.";
0 commit comments