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({