From a6bce8cbd4d88dde0e9d98cf9e0de0b3c8c29394 Mon Sep 17 00:00:00 2001 From: Nikita Melnikov Date: Tue, 16 Jul 2024 14:53:17 +0100 Subject: [PATCH] tune --- .github/workflows/check-links.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml index b5cbf9db..3ca93a28 100644 --- a/.github/workflows/check-links.yaml +++ b/.github/workflows/check-links.yaml @@ -21,7 +21,7 @@ jobs: - name: Prepare report id: prepare-report run: | - LENGTH=$(jq '[.links[] | select(.state == "BROKEN")] | length' links-report.json) + LENGTH=$(jq '[.links[] | select(.state == "BROKEN" and .status!=403 and .status!=429 and .status!=0)] | length' links-report.json) if [ "$LENGTH" -gt 0 ]; then echo "send_report=true" >> $GITHUB_OUTPUT @@ -33,7 +33,7 @@ jobs: echo 'report_message<> "$GITHUB_OUTPUT"