diff --git a/.github/markdown-link-check-config.json b/.github/markdown-link-check-config.json index c2b7783466..62a738ae0e 100644 --- a/.github/markdown-link-check-config.json +++ b/.github/markdown-link-check-config.json @@ -41,7 +41,7 @@ ], "timeout": "20s", "retryOn429": true, - "retryCount": 3, + "retryCount": 5, "fallbackRetryDelay": "30s", "aliveStatusCodes": [200, 206] } diff --git a/.github/workflows/check-markdown-links.yml b/.github/workflows/check-markdown-links.yml index 7c37a5c079..bf0eeda7c4 100644 --- a/.github/workflows/check-markdown-links.yml +++ b/.github/workflows/check-markdown-links.yml @@ -23,14 +23,18 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Check markdown links - uses: tcort/github-action-markdown-link-check@a800ad5f1c35bf61987946fd31c15726a1c9f2ba # v1.1.0 + - name: Check markdown links (with retry on transient errors) + uses: Wandalen/wretry.action@v3.5.0 with: - use-quiet-mode: 'yes' - use-verbose-mode: 'no' - config-file: '.github/markdown-link-check-config.json' - folder-path: 'docs/' - file-extension: '.md' - max-depth: -1 - check-modified-files-only: 'no' - base-branch: 'master' + action: tcort/github-action-markdown-link-check@a800ad5f1c35bf61987946fd31c15726a1c9f2ba + with: | + use-quiet-mode: yes + use-verbose-mode: no + config-file: .github/markdown-link-check-config.json + folder-path: docs/ + file-extension: .md + max-depth: -1 + check-modified-files-only: no + base-branch: master + attempt_limit: 3 + attempt_delay: 10000