Previous curl calls ignored exit codes — PR/issue creation was silently failing (branch got pushed but no PR/issue landed) while the step reported green. Now each curl captures the response body and HTTP status, prints both for debugging, and exits non-zero if status != 201. Also dropped the labels field from the issue payload — Gitea rejects issue creation when referenced labels don't exist in the repo, which may have contributed to the silent failure. Labels can be added manually post-creation. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6.6 KiB
6.6 KiB