fix: update existing issue body with latest patch error, not just a comment

Co-authored-by: Meliox <5264368+Meliox@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-08-22 18:39:35 +00:00 committed by GitHub
parent 2ae9708c4e
commit 5fc971e0a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -145,8 +145,9 @@ jobs:
--jq ".[] | select(.title==\"$TITLE\") | .number" | head -n1)
if [[ -n "$EXISTING" ]]; then
gh issue edit "$EXISTING" --body-file issue-body.md
gh issue comment "$EXISTING" --body-file issue-body.md
echo "Commented on existing issue #$EXISTING"
echo "Updated and commented on existing issue #$EXISTING"
else
gh issue create --title "$TITLE" --label patch-break --body-file issue-body.md
echo "Opened new issue for mod $MOD"