diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml index 9efbbc2f3..15b1f5919 100644 --- a/.github/workflows/link-check.yml +++ b/.github/workflows/link-check.yml @@ -12,6 +12,6 @@ jobs: - name: Check Links uses: lycheeverse/lychee-action@v1.9.3 with: - args: --verbose --no-progress './contents/core/**/*.qmd' './contents/labs/**/*.qmd' + args: --verbose --no-progress --exclude-mail --max-concurrency 10 --accept 200 --accept 403 --exclude-file .lycheeignore './contents/core/**/*.qmd' './contents/labs/**/*.qmd' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.lycheeignore b/.lycheeignore new file mode 100644 index 000000000..569b93d08 --- /dev/null +++ b/.lycheeignore @@ -0,0 +1,17 @@ +# Broken YouTube/DOI links +https://www.youtube.com/watch?v=MK0SrxBC1xs +https://doi.org/10.1145/3451349 + +# Google Slides (unauthorized) +https://docs.google.com/presentation/ + +# Localhost and internal IPs +http://localhost +http://127.0.0.1 +http://192.168. + +# Known 404s and content gates +https://www.reuters.com/ +https://www.st.com/en/mems-and-sensors/lsm6dsox.html +https://blog.didomi.io/ +https://www.usgs.gov/