From b8da6f475edca809e6480ec48b6c45e9da1d1184 Mon Sep 17 00:00:00 2001 From: Zhengyizhe0209-arch Date: Fri, 15 May 2026 02:33:46 +1000 Subject: [PATCH] Fix link checker accepted status codes and base URL Accept normal 2xx responses and resolve root-relative links against the deployed site. --- .github/workflows/linkcheck.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 4682921f..ce34b446 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -21,11 +21,11 @@ jobs: uses: lycheeverse/lychee-action@v2 with: fail: false - args: --accept 403,503 *.html + args: --accept 200..=299,403,503 --base-url https://intro.quantecon.org *.html - name: Create Issue From File if: steps.lychee.outputs.exit_code != 0 uses: peter-evans/create-issue-from-file@v6 with: title: Link Checker Report content-filepath: ./lychee/out.md - labels: report, automated issue, linkchecker \ No newline at end of file + labels: report, automated issue, linkchecker