diff --git a/tools/@aws-cdk/prlint/lint.ts b/tools/@aws-cdk/prlint/lint.ts index a61388fc4e153..9097dd5516a4c 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({