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]andMeliox authored and GitHub committed 2026-08-22 18:39:35 +00:00
1 parent 2ae9708c4e
commit 5fc971e0a6
1 file changed
+2 -1
+2 -1
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"