soup/.github
Alpamys 38d00fdcf5 ci: surface gist-badge update failures (no more silent 401)
The test-count badge step ran the gist PATCH with `curl -s -o /dev/null
-w "%{http_code}"` — discarded body, never set a non-zero exit code on
HTTP 4xx / 5xx. When GIST_TOKEN expired the gist returned 401 but CI
stayed green and the badge silently stuck on a stale value (2061
through several releases despite test count growing to 3818).

Switched to `curl --fail-with-body -sS` so:
- Non-2xx responses produce a non-zero exit code (CI fails loudly)
- Response body prints to stderr (so the operator sees the actual
  GitHub error, e.g. "Bad credentials")
- Successful PATCH stays quiet (no progress bar)

Operator action required when this fires: rotate GIST_TOKEN at
https://github.com/settings/tokens (scope: gist) and update the
GIST_TOKEN secret at https://github.com/MakazhanAlpamys/Soup/settings/secrets/actions

Docs-only / CI-only change: no version bump, no soup_cli/ touched.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 22:43:05 +05:00
..
ISSUE_TEMPLATE Add GitHub templates, downloads badge, and repo topics 2026-03-23 20:00:32 +05:00
workflows ci: surface gist-badge update failures (no more silent 401) 2026-04-27 22:43:05 +05:00
FUNDING.yml fix: v0.22.1 — Python 3.9 compat (str | None → Optional[str]), version bump 2026-04-03 13:09:16 +05:00
pull_request_template.md Add GitHub templates, downloads badge, and repo topics 2026-03-23 20:00:32 +05:00