Skip to content

Commit 21b4fdc

Browse files
Fix link checker accepted status codes and base URL (#736)
Accept normal 2xx responses and resolve root-relative links against the deployed site. Co-authored-by: Matt McKay <mmcky@users.noreply.github.com>
1 parent f47a535 commit 21b4fdc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/linkcheck.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
uses: lycheeverse/lychee-action@v2
2222
with:
2323
fail: false
24-
args: --accept 403,503 *.html
24+
args: --accept 200..=299,403,503 --base-url https://intro.quantecon.org *.html
2525
- name: Create Issue From File
2626
if: steps.lychee.outputs.exit_code != 0
2727
uses: peter-evans/create-issue-from-file@v6
2828
with:
2929
title: Link Checker Report
3030
content-filepath: ./lychee/out.md
31-
labels: report, automated issue, linkchecker
31+
labels: report, automated issue, linkchecker

0 commit comments

Comments
 (0)