This is an automated email from the ASF dual-hosted git repository.

terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 6f78a122716 Fix rate-limited link checks and aggregate scan failures 
(#40140)
6f78a122716 is described below

commit 6f78a1227164b9ce08217f649d00ab939131a73c
Author: Liang Zhang <[email protected]>
AuthorDate: Sat Oct 10 20:42:42 2026 +0800

    Fix rate-limited link checks and aggregate scan failures (#40140)
---
 .github/workflows/ci-graalvm.yml                               | 2 +-
 .github/workflows/nightly-check.yml                            | 4 +++-
 .github/workflows/resources/linkcheck/markdown-link-check.json | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci-graalvm.yml b/.github/workflows/ci-graalvm.yml
index aadd7889976..d5039f7d2fd 100644
--- a/.github/workflows/ci-graalvm.yml
+++ b/.github/workflows/ci-graalvm.yml
@@ -74,7 +74,7 @@ jobs:
       # TODO Remove this workaround after. The graalvm native image built with 
windows server is missing some GRMs for testcontainers
       - name: Run test with GraalVM CE
         if: matrix.os == 'windows-latest'
-        run: ./mvnw -PgenerateMetadata -e -T 1C clean verify
+        run: ./mvnw -PgenerateMetadata -e -T1C clean verify
       - name: Run nativeTest with GraalVM CE ${{ matrix.java-version }}
         if: matrix.os == '${{ needs.global-environment.outputs.GLOBAL_RUNS_ON 
}}'
         run: ./mvnw -PnativeTestInShardingSphere -e clean verify
diff --git a/.github/workflows/nightly-check.yml 
b/.github/workflows/nightly-check.yml
index 260c4031324..f29520c60aa 100644
--- a/.github/workflows/nightly-check.yml
+++ b/.github/workflows/nightly-check.yml
@@ -63,6 +63,7 @@ jobs:
         run: |
           IGNORED_PATH_LIST=("./docs/document/themes" 
"./docs/community/content/powered-by" "./docs/blog/content/material" 
"./docs/blog/themes" "./docs/community/themes")
           ignore_current_file=false
+          result=0
 
           for file in $(find . -name "*.md"); do
             for ignored_path in ${IGNORED_PATH_LIST[@]}
@@ -77,8 +78,9 @@ jobs:
             continue
           fi
           echo "Checking $file"
-          markdown-link-check -c 
.github/workflows/resources/linkcheck/markdown-link-check.json -q "$file"
+          markdown-link-check -c 
.github/workflows/resources/linkcheck/markdown-link-check.json -q "$file" || 
result=1
           done
+          exit "$result"
 
   check-codeql:
     if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }}
diff --git a/.github/workflows/resources/linkcheck/markdown-link-check.json 
b/.github/workflows/resources/linkcheck/markdown-link-check.json
index 0cb7c7b6514..5fb7e126983 100644
--- a/.github/workflows/resources/linkcheck/markdown-link-check.json
+++ b/.github/workflows/resources/linkcheck/markdown-link-check.json
@@ -49,6 +49,7 @@
   "aliveStatusCodes": [
     200,
     401,
-    403
+    403,
+    429
   ]
 }

Reply via email to