Automatic documentation update - #955
Closed
github-actions[bot] wants to merge 2 commits into
Closed
Conversation
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>
github-actions
Bot
force-pushed
the
auto-update-docs
branch
from
August 7, 2026 16:14
d84bdbd to
994f4b1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generate documentation.