diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ac83baf..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: "--accept 200,429 --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/.lycheeignore b/.lycheeignore deleted file mode 100644 index 63cc9bb..0000000 --- a/.lycheeignore +++ /dev/null @@ -1,6 +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).*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..7d25ba5 --- /dev/null +++ b/lychee.toml @@ -0,0 +1,10 @@ +accept = [200, 403, 415, 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 + '(?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. +]