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:
parent
2ae9708c4e
commit
5fc971e0a6
3
.github/workflows/weekly-patch-test.yml
vendored
3
.github/workflows/weekly-patch-test.yml
vendored
@ -145,8 +145,9 @@ jobs:
|
|||||||
--jq ".[] | select(.title==\"$TITLE\") | .number" | head -n1)
|
--jq ".[] | select(.title==\"$TITLE\") | .number" | head -n1)
|
||||||
|
|
||||||
if [[ -n "$EXISTING" ]]; then
|
if [[ -n "$EXISTING" ]]; then
|
||||||
|
gh issue edit "$EXISTING" --body-file issue-body.md
|
||||||
gh issue comment "$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
|
else
|
||||||
gh issue create --title "$TITLE" --label patch-break --body-file issue-body.md
|
gh issue create --title "$TITLE" --label patch-break --body-file issue-body.md
|
||||||
echo "Opened new issue for mod $MOD"
|
echo "Opened new issue for mod $MOD"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user