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

github-merge-queue[bot] pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git


The following commit(s) were added to refs/heads/main by this push:
     new c5a39b5d0 docs: Skip markdown link check on github.com links (#4474)
c5a39b5d0 is described below

commit c5a39b5d0cfb2145726bd39fe7d9e4198b4bc60f
Author: Alex Stephen <[email protected]>
AuthorDate: Tue Nov 24 20:39:34 2026 +0000

    docs: Skip markdown link check on github.com links (#4474)
    
    * docs: Skip markdown link check on github.com links
    
    github.com intermittently returns 503s to the link checker, failing CI
    on unrelated PRs.
    
    * docs: Ignore github.com links via .markdown-link-check.json
    
    Replace the per-line disable comments with a single ignorePattern, so
    new github.com links are covered without annotations and neighboring
    non-GitHub links on the same line are still checked.
---
 .github/workflows/check-md-link.yml | 2 ++
 .markdown-link-check.json           | 7 +++++++
 dev/.rat-excludes                   | 1 +
 3 files changed, 10 insertions(+)

diff --git a/.github/workflows/check-md-link.yml 
b/.github/workflows/check-md-link.yml
index a7a4fb4d5..cd7794c13 100644
--- a/.github/workflows/check-md-link.yml
+++ b/.github/workflows/check-md-link.yml
@@ -39,3 +39,5 @@ jobs:
       with:
         persist-credentials: false
     - uses: 
tcort/github-action-markdown-link-check@e047c5b37f24ab722bbef1a27b6fab7f96bc4068
 # v1.1.3
+      with:
+        config-file: .markdown-link-check.json
diff --git a/.markdown-link-check.json b/.markdown-link-check.json
new file mode 100644
index 000000000..a5a4c8363
--- /dev/null
+++ b/.markdown-link-check.json
@@ -0,0 +1,7 @@
+{
+  "ignorePatterns": [
+    {
+      "pattern": "^https://github\\.com/";
+    }
+  ]
+}
diff --git a/dev/.rat-excludes b/dev/.rat-excludes
index 485579eff..5a89200ec 100644
--- a/dev/.rat-excludes
+++ b/dev/.rat-excludes
@@ -6,3 +6,4 @@ uv.lock
 .mypy_cache/**
 mkdocs/**
 notebooks/**
+.markdown-link-check.json

Reply via email to