Fix issue comment number (#30556)

This commit is contained in:
Lunny Xiao 2024-12-30 14:35:46 -08:00 committed by GitHub
parent a87168869a
commit a54cc05d2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 89 additions and 19 deletions

View file

@ -639,6 +639,10 @@ func InsertReviews(ctx context.Context, reviews []*Review) error {
return err
}
}
if err := UpdateIssueNumComments(ctx, review.IssueID); err != nil {
return err
}
}
return committer.Commit()