mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-02 10:52:27 +00:00
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:
1 file changed
+6
-5
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user