From 211e8b2d99e572ea4b0354bbdaf2f3ea04c59178 Mon Sep 17 00:00:00 2001 From: Sam Cunliffe Date: Wed, 11 Feb 2026 18:39:40 +0000 Subject: [PATCH 1/7] Ignore Turing's 403. --- .lycheeignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.lycheeignore b/.lycheeignore index 63cc9bb..9a2ec7e 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -2,5 +2,6 @@ (?x).*hamlynsymposium.org.* # Returns 403 for some reason (?x).*github-readme-stats.vercel.app.* # Returns 503 for some reason (?x).*medium.com/iipp-blog.* # Returns 403 for some reason +(?x).turing.ac.uk* # Returns 403 for some reason (?x).*127.0.0.1.* # This is a local address (?x).*liveuclac.sharepoint.com/sites/* # SharePoint pages will need UCL credentials. From cb3f47f1f3f512d70c299f0450bdf3868de1a766 Mon Sep 17 00:00:00 2001 From: Sam Cunliffe Date: Wed, 11 Feb 2026 18:45:16 +0000 Subject: [PATCH 2/7] Replace lycheeignore with lychee.toml. --- .lycheeignore | 7 ------- lychee.toml | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 .lycheeignore create mode 100644 lychee.toml diff --git a/.lycheeignore b/.lycheeignore deleted file mode 100644 index 9a2ec7e..0000000 --- a/.lycheeignore +++ /dev/null @@ -1,7 +0,0 @@ -(?x).*profiles.ucl.ac.uk.*/thumbnail # People may not have a profile image. -(?x).*hamlynsymposium.org.* # Returns 403 for some reason -(?x).*github-readme-stats.vercel.app.* # Returns 503 for some reason -(?x).*medium.com/iipp-blog.* # Returns 403 for some reason -(?x).turing.ac.uk* # Returns 403 for some reason -(?x).*127.0.0.1.* # This is a local address -(?x).*liveuclac.sharepoint.com/sites/* # SharePoint pages will need UCL credentials. diff --git a/lychee.toml b/lychee.toml new file mode 100644 index 0000000..b944f7d --- /dev/null +++ b/lychee.toml @@ -0,0 +1,7 @@ +accepted = [200, 403] +exclude [ + '(?x).*profiles.ucl.ac.uk.*/thumbnail', # People may not have a profile image. + '(?x).*github-readme-stats.vercel.app.*', # Returns 503 for some reason + '(?x).*127.0.0.1.*', # This is a local address + '(?x).*liveuclac.sharepoint.com/sites/*', # SharePoint pages will need UCL credentials. +] \ No newline at end of file From 5e85419bd46e2d44b6deec8aedeac06161223a79 Mon Sep 17 00:00:00 2001 From: Sam Cunliffe Date: Wed, 11 Feb 2026 18:46:48 +0000 Subject: [PATCH 3/7] Syntax bubu. --- lychee.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lychee.toml b/lychee.toml index b944f7d..0277a37 100644 --- a/lychee.toml +++ b/lychee.toml @@ -1,5 +1,5 @@ accepted = [200, 403] -exclude [ +exclude = [ '(?x).*profiles.ucl.ac.uk.*/thumbnail', # People may not have a profile image. '(?x).*github-readme-stats.vercel.app.*', # Returns 503 for some reason '(?x).*127.0.0.1.*', # This is a local address From af2500a964a45dfd622ad7c7c353bc25fa16c431 Mon Sep 17 00:00:00 2001 From: Sam Cunliffe Date: Wed, 11 Feb 2026 21:07:21 +0000 Subject: [PATCH 4/7] Move accept codes to the toml. --- .github/workflows/build.yml | 2 +- lychee.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac83baf..342b065 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,6 +63,6 @@ jobs: with: # nice to check a few specific root-level markdown files (README.md etc) for valid links, # but the main thing to check is the rendered website (in the `open-source` directory) - args: "--accept 200,429 --no-progress --verbose --github-token ${{ secrets.GITHUB_TOKEN }} -- README.md CONTRIBUTING.md open-source/" + args: "--no-progress --verbose --github-token ${{ secrets.GITHUB_TOKEN }} -- README.md CONTRIBUTING.md open-source/" fail: true jobSummary: true diff --git a/lychee.toml b/lychee.toml index 0277a37..242ad56 100644 --- a/lychee.toml +++ b/lychee.toml @@ -1,7 +1,7 @@ -accepted = [200, 403] +accept = [200, 403, 429] exclude = [ '(?x).*profiles.ucl.ac.uk.*/thumbnail', # People may not have a profile image. '(?x).*github-readme-stats.vercel.app.*', # Returns 503 for some reason '(?x).*127.0.0.1.*', # This is a local address '(?x).*liveuclac.sharepoint.com/sites/*', # SharePoint pages will need UCL credentials. -] \ No newline at end of file +] From 5219ba28e318e7a32b2d29b0bcd743efc1a249b2 Mon Sep 17 00:00:00 2001 From: Sam Cunliffe Date: Wed, 11 Feb 2026 21:11:50 +0000 Subject: [PATCH 5/7] Move remaining easy config to lychee.toml. --- .github/workflows/build.yml | 2 +- lychee.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 342b065..c8c6715 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,6 +63,6 @@ jobs: with: # nice to check a few specific root-level markdown files (README.md etc) for valid links, # but the main thing to check is the rendered website (in the `open-source` directory) - args: "--no-progress --verbose --github-token ${{ secrets.GITHUB_TOKEN }} -- README.md CONTRIBUTING.md open-source/" + args: "--github-token ${{ secrets.GITHUB_TOKEN }} -- README.md CONTRIBUTING.md open-source/" fail: true jobSummary: true diff --git a/lychee.toml b/lychee.toml index 242ad56..343fdcc 100644 --- a/lychee.toml +++ b/lychee.toml @@ -1,4 +1,6 @@ accept = [200, 403, 429] +verbose = "info" +no_progress = true exclude = [ '(?x).*profiles.ucl.ac.uk.*/thumbnail', # People may not have a profile image. '(?x).*github-readme-stats.vercel.app.*', # Returns 503 for some reason From ea6a3ada9c75b2294ae2ea6c7855ac70f9d297f4 Mon Sep 17 00:00:00 2001 From: Sam Cunliffe Date: Wed, 11 Feb 2026 21:21:23 +0000 Subject: [PATCH 6/7] Add exception for RDR. --- lychee.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lychee.toml b/lychee.toml index 343fdcc..65dbf0c 100644 --- a/lychee.toml +++ b/lychee.toml @@ -1,9 +1,10 @@ accept = [200, 403, 429] verbose = "info" no_progress = true -exclude = [ +exclude = [ '(?x).*profiles.ucl.ac.uk.*/thumbnail', # People may not have a profile image. '(?x).*github-readme-stats.vercel.app.*', # Returns 503 for some reason + '(?x).rdr.ucl.ac.uk/articles/*', # Article does exist but sometimes returns strange codes: 202, 403... '(?x).*127.0.0.1.*', # This is a local address '(?x).*liveuclac.sharepoint.com/sites/*', # SharePoint pages will need UCL credentials. ] From 434cae2edcb7e711f08a1ef15b989d8b0f0cf7fc Mon Sep 17 00:00:00 2001 From: Sam Cunliffe Date: Wed, 11 Feb 2026 21:27:45 +0000 Subject: [PATCH 7/7] Accept 415 as well. --- lychee.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lychee.toml b/lychee.toml index 65dbf0c..7d25ba5 100644 --- a/lychee.toml +++ b/lychee.toml @@ -1,4 +1,4 @@ -accept = [200, 403, 429] +accept = [200, 403, 415, 429] verbose = "info" no_progress = true exclude = [