Merge pull request #1829 from PR0M3TH3AN/agent-fix/pr-review-logging-10660682506968314967

fix(ci): expose automated review report in CI logs
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-01-27 13:15:06 -05:00
commit bf14ba63a3
1 file changed
+6 -5
+6 -5
View File
@@ -235,13 +235,14 @@ async function main() {
console.error('Error posting comment:', e);
}
} else {
console.log('Not in CI or missing tokens. Printing report to stdout:');
console.log('---------------------------------------------------');
console.log(commentBody);
console.log('---------------------------------------------------');
}
// Always print the report to stdout so it's visible in logs (especially if posting fails or for debugging)
console.log('---------------------------------------------------');
console.log('PR Review Report:');
console.log(commentBody);
console.log('---------------------------------------------------');
if (hasFailures) {
process.exit(1);
}