Skip to content

Commit

Permalink
Add external link checking exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-seqera committed Jul 25, 2024
1 parent d1ed7d0 commit 99b4c47
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions lychee.toml
Original file line number Diff line number Diff line change
@@ -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"
]

0 comments on commit 99b4c47

Please sign in to comment.