Skip to content

Automatic documentation update - #955

Closed
github-actions[bot] wants to merge 2 commits into
mainfrom
auto-update-docs
Closed

Automatic documentation update#955
github-actions[bot] wants to merge 2 commits into
mainfrom
auto-update-docs

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Generate documentation.

@github-actions github-actions Bot added the Needs review Seeking for review label Aug 7, 2026
Every flag in the generated Mirrors.md became flagsapi.com/null/... The
country code came from ipwhois.app, whose free tier now rate-limits after
~2 requests and returns {"success":false,"country_code":null}; the ~40-mirror
loop (sleep 1) tripped it almost immediately, so jq emitted the literal null.

- Switch the lookup to ip-api.com (free, 45 req/min, no key -> countryCode).
- Retry a few times on a transient/rate-limited response and validate a
  2-letter code; leave it empty rather than emitting "null".
- Guard the empty-IP case: ip-api.com/json/ with no address geolocates the
  runner itself, which would stamp a wrong flag on an unresolved mirror.
- When no country is resolved, render a plain region link instead of a broken
  flagsapi/null image.
- Also append the rendered Current Mirrors table to the workflow run summary.

Signed-off-by: Igor Pecovnik <igor@armbian.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs review Seeking for review

Development

Successfully merging this pull request may close these issues.

1 participant