Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/security-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,14 @@ jobs:
rm -f "$token_file" "$token_file.next"
echo "Claude Code endete mit Exit $code."
tail -n 1 "$RUNNER_TEMP/claude.jsonl" | jq -r '"Kosten: \(.total_cost_usd // "?") USD, Züge: \(.num_turns // "?")"' 2> /dev/null || true
# Without a report the reason goes into the log: the kind of the
# error and its message, which name no token. The rest of the stream
# stays out of the public log; it holds what the agent read and ran.
if [ "$code" -ne 0 ]; then
jq -r 'select(.type == "result" or .error != null or .api_error_status != null)
| "Fehler: \(.subtype // .type) \(.api_error_status // "") \((.result // .error // "") | tostring | .[0:600])"' \
"$RUNNER_TEMP/claude.jsonl" 2> /dev/null | tail -n 5 || true
fi

- name: Bericht prüfen
run: |
Expand Down
Loading