From c5fb9d554f299941163a9d1a89c8cef4f4c15908 Mon Sep 17 00:00:00 2001 From: Parham Date: Wed, 26 Jul 2023 12:24:59 +0330 Subject: [PATCH] scripts/checkCommits1by1: better err msg (#131) Improve the error message to state that if a commit is adding a failing test, it should contain the `failing test` term in its message. --- scripts/checkCommits1by1.fsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/checkCommits1by1.fsx b/scripts/checkCommits1by1.fsx index 5a82f72cd..549cfa18f 100644 --- a/scripts/checkCommits1by1.fsx +++ b/scripts/checkCommits1by1.fsx @@ -1331,6 +1331,8 @@ prCommits then Console.Error.WriteLine "Thanks for pushing commits 1 by 1, however, it has been detected that some of them to not be successful (or not be red when they add a failing test)" + Console.Error.WriteLine + "Hint: if you want to state that a commit can have red CI because of adding a failing test, please make sure that the commit message contains the 'failing test' term" Environment.Exit 3 )