We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a904105 commit 80b37a9Copy full SHA for 80b37a9
github-nfbot/GitHub-nfbot/GitHub_nfbot.cs
@@ -139,8 +139,8 @@ public static async Task<IActionResult> Run(
139
return new OkObjectResult("");
140
}
141
142
- // copilot
143
- if (payload.pull_request.user.login == "copilot")
+ // Copilot (case-insensitive)
+ if (payload.pull_request.user.login.ToString().Equals("copilot", StringComparison.OrdinalIgnoreCase))
144
{
145
146
0 commit comments