feat: add debug mode to capture agent tool log

When debug: true, the review comment includes a collapsible section
showing which files the agent read, grep patterns used, etc.
Also prints agent log on failure for easier troubleshooting.
This commit is contained in:
Markus Hofstetter
2026-05-18 23:14:51 +02:00
parent c2f0d7f43f
commit 3654e36a7b
3 changed files with 28 additions and 1 deletions

View File

@@ -37,6 +37,10 @@ inputs:
description: "Max diff size in bytes before truncation (0 = unlimited)"
required: false
default: "80000"
debug:
description: "Include agent tool log in the review comment (shows which files were read)"
required: false
default: "false"
runs:
using: "docker"