From 94de889e8a0dccbac4fc54e0ec130ebd366a6395 Mon Sep 17 00:00:00 2001 From: Inessa Pawson Date: Wed, 7 Jan 2026 23:27:35 -0500 Subject: [PATCH 1/3] ignore root-relative links in lychee link check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Exclude root-relative paths (/…) from the lychee link checker to prevent InvalidPathToUri errors when scanning the built _site HTML. This keeps external link validation intact while avoiding false CI failures on internal site links. --- .github/workflows/linkcheck.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 00e95d17..0e92c853 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -32,7 +32,10 @@ jobs: id: lychee uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 #v2.7.0 with: - args: --verbose --no-progress _site/*.html + args: > + --verbose --no-progress + --exclude '^/.*' + _site env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} From f15492522d8f9141ec4aca7e1fc8ae78aad299e8 Mon Sep 17 00:00:00 2001 From: Inessa Pawson Date: Thu, 8 Jan 2026 00:02:48 -0500 Subject: [PATCH 2/3] Fix syntax for lychee args --- .github/workflows/linkcheck.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 0e92c853..2a3cdfdd 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -33,9 +33,10 @@ jobs: uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 #v2.7.0 with: args: > - --verbose --no-progress - --exclude '^/.*' - _site + --verbose + --no-progress + --exclude '^/.*' + _site env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} From 1f4adae1a488f5a9b95cc80a5debcceb55eb32c5 Mon Sep 17 00:00:00 2001 From: Inessa Pawson Date: Sat, 10 Jan 2026 14:41:27 -0500 Subject: [PATCH 3/3] Trim trailing white spaces --- .github/workflows/linkcheck.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 2a3cdfdd..25e60df9 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -33,7 +33,7 @@ jobs: uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 #v2.7.0 with: args: > - --verbose + --verbose --no-progress --exclude '^/.*' _site