From 99b4c474aa4fdb170937d5769a1f0d7d7360d41c Mon Sep 17 00:00:00 2001 From: Jason Boxman Date: Wed, 24 Jul 2024 20:08:43 -0400 Subject: [PATCH] Add external link checking exclusions --- .github/workflows/links.yml | 3 ++- lychee.toml | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 lychee.toml diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 9ab1c0f8b..70792ff14 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -17,8 +17,9 @@ jobs: - name: Link Checker id: lychee uses: lycheeverse/lychee-action@v1 + # --verbose --no-progress with: - args: --base . --verbose --no-progress -s https -s http './**/*.mdx' + args: --base . -v -n -s https -s http './**/*.mdx' - name: Create Issue From File if: env.lychee_exit_code != 0 diff --git a/lychee.toml b/lychee.toml new file mode 100644 index 000000000..47a885e3e --- /dev/null +++ b/lychee.toml @@ -0,0 +1,10 @@ +# https://lychee.cli.rs/usage/config/ +scheme = ["https", "http"] +exclude = [ + '^https://portal.azure.com/.+$', + '^https://gitlab.com/profile/personal_access_tokens' +] +exclude_path = [ + "^.+/README.mdx", + "^.+/_todo.mdx" +]