ci(update-audit): surface Gitea API failures in the post step #35

Merged
k.renner merged 1 commits from update-audit-fix-issue-post into master 2026-06-27 07:04:40 +00:00
1 Commits
Author SHA1 Message Date
k.rennerandClaude Opus 4.8 7f383f3466 ci(update-audit): surface Gitea API failures in the post step
ci/woodpecker/manual/update-audit Pipeline failed
The first smoke run went green but created no issue: the post step used
`jq | curl -sf | jq`, so the pipe's exit status came from the trailing jq
and a failed POST was swallowed.

Rewrite the post step to capture each write's HTTP status explicitly via
`-w '%{http_code}'`, print it, and fail the step on any non-2xx (dumping the
Gitea error body). Payloads are written to files instead of piped.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-26 09:40:18 +02:00