From f85a2fc8e9ee0491927ae71e56fa7b447b041940 Mon Sep 17 00:00:00 2001 From: 2pk03 Date: Mon, 12 Oct 2026 16:03:28 +0200 Subject: [PATCH 1/2] Give lychee the workflow token in CI Unauthenticated requests to github.com get 503 under rate limits. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fbbc8a6..c390766 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,8 @@ jobs: - run: sudo apt-get update && sudo apt-get install -y shellcheck - run: sh scripts/install-lint-tools.sh - run: make lint + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # lychee uses it to avoid GitHub rate limits micropython: runs-on: ubuntu-latest From b2b60fb1fe155dd95853c1d64c792787074e64e3 Mon Sep 17 00:00:00 2001 From: 2pk03 Date: Mon, 12 Oct 2026 16:04:29 +0200 Subject: [PATCH 2/2] Treat GitHub throttling (429, 503) as non-fatal in the link check --- lychee.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lychee.toml b/lychee.toml index c64e43a..773b7ec 100644 --- a/lychee.toml +++ b/lychee.toml @@ -10,5 +10,5 @@ exclude = [ exclude_path = [".git"] max_retries = 2 timeout = 20 -accept = ["200..=299", "403", "429"] +accept = ["200..=299", "403", "429", "503"] # 429 and 503 are GitHub throttling, not dead links include_fragments = false