Skip to content

Commit

Permalink
Merge branch 'main' into TheRealAmazonKendra/cp-ebs
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Oct 4, 2022
2 parents 08e8f48 + aedee00 commit df549d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ pull_request_rules:
- base=main
- -merged
- -closed
- changes-requested-reviews-by!=aws-cdk-automation
- name: if fails conventional commits
actions:
comment:
Expand Down
2 changes: 1 addition & 1 deletion tools/@aws-cdk/prlint/lint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export class PullRequestLinter {
* @returns Existing comment, if present
*/
private async findExistingComment(): Promise<Comment | undefined> {
const comments = await this.client.issues.listComments();
const comments = await this.client.issues.listComments(this.issueParams);
return comments.data.find((comment) => comment.user?.login === 'aws-cdk-automation' && comment.body?.startsWith('The pull request linter fails with the following errors:')) as Comment;
}

Expand Down

0 comments on commit df549d4

Please sign in to comment.