From 53a3768cdfb58bde4e4642d7470a47ad04e9c893 Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Fri, 20 Mar 2026 08:21:04 +0100 Subject: [PATCH] added valid return codes --- .github/workflows/indexnow-notify.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/indexnow-notify.yml b/.github/workflows/indexnow-notify.yml index d9cdb4a8..b6ba36a8 100644 --- a/.github/workflows/indexnow-notify.yml +++ b/.github/workflows/indexnow-notify.yml @@ -22,6 +22,6 @@ jobs: }") echo "IndexNow response: HTTP $RESPONSE" echo "Submitted $(echo "$URLS" | wc -l) URLs" - if [ "$RESPONSE" -ne 200 ]; then + if [ "$RESPONSE" -lt 200 ] || [ "$RESPONSE" -ge 300 ]; then echo "::warning::IndexNow returned HTTP $RESPONSE" fi