Skip to content

Commit d19d97c

Browse files
authored
chore(prlint): exemption request is now case insensitive (#30127)
---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent a1dcaa6 commit d19d97c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/@aws-cdk/prlint/lint.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export class PullRequestLinter {
266266
}
267267

268268
const comments = await this.client.issues.listComments(this.issueParams);
269-
if (comments.data.find(comment => comment.body?.includes("Exemption Request"))) {
269+
if (comments.data.find(comment => comment.body?.toLowerCase().includes("exemption request"))) {
270270
body += '\n\n✅ A exemption request has been requested. Please wait for a maintainer\'s review.';
271271
}
272272
await this.client.issues.createComment({

0 commit comments

Comments
 (0)