diff --git a/src/Uno.UI.TestComparer/Program.cs b/src/Uno.UI.TestComparer/Program.cs index 4303e72ac6..4b95708be0 100644 --- a/src/Uno.UI.TestComparer/Program.cs +++ b/src/Uno.UI.TestComparer/Program.cs @@ -166,7 +166,7 @@ namespace Umbrella.UI.TestComparer return; } - if (string.IsNullOrEmpty(githubPAT.Trim())) + if (string.IsNullOrEmpty(githubPAT.Trim()) || githubPAT.StartsWith("$(")) { Console.WriteLine($"No GitHub PAT, no PR comment will be posted."); return;