From 00bd21d7d10c2c69f707a95d0d1821d5334aa44a Mon Sep 17 00:00:00 2001 From: Kaizen Conroy Date: Thu, 9 May 2024 10:13:23 -0400 Subject: [PATCH] chore(prlint): exemption request is now case insensitive --- tools/@aws-cdk/prlint/lint.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/@aws-cdk/prlint/lint.ts b/tools/@aws-cdk/prlint/lint.ts index e2c9e3bc0c60c..1c79783bc49c2 100644 --- a/tools/@aws-cdk/prlint/lint.ts +++ b/tools/@aws-cdk/prlint/lint.ts @@ -266,7 +266,7 @@ export class PullRequestLinter { } const comments = await this.client.issues.listComments(this.issueParams); - if (comments.data.find(comment => comment.body?.includes("Exemption Request"))) { + if (comments.data.find(comment => comment.body?.toLowerCase().includes("exemption request"))) { body += '\n\n✅ A exemption request has been requested. Please wait for a maintainer\'s review.'; } await this.client.issues.createComment({