mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-22 10:36:47 +00:00
Re-enable github comments instead of logging
This commit is contained in:
parent
27354ca764
commit
7a83d05aaf
7 changed files with 13 additions and 29505 deletions
13
src/main.ts
13
src/main.ts
|
@ -257,13 +257,12 @@ async function main() {
|
|||
|
||||
const comments = await analyzeCode(filteredDiff, prDetails);
|
||||
if (comments.length > 0) {
|
||||
// await createReviewComment(
|
||||
// prDetails.owner,
|
||||
// prDetails.repo,
|
||||
// prDetails.pull_number,
|
||||
// comments
|
||||
// );
|
||||
await console.log("Comments:", comments);
|
||||
await createReviewComment(
|
||||
prDetails.owner,
|
||||
prDetails.repo,
|
||||
prDetails.pull_number,
|
||||
comments
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue