diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 6cf8088..215604b 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -121,13 +121,17 @@ jobs: curl --fail --show-error --silent --location --retry 3 --retry-delay 2 --retry-all-errors "$@" } + response_looks_invalid() { + head -n 5 "$1" | grep -Eiq '^(429([[:space:]:]|$)|> ../community/data/geolocation-\!cn && echo browserleaks.org >> ../community/data/geolocation-\!cn for file in ../community/data/*; do - if grep -Eiq '^(429|