Skip to content

Commit aaa05a1

Browse files
committed
ci: update doc links regex
1 parent 3d544bb commit aaa05a1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/docs-link-check.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,8 @@ jobs:
5151
--accept 200..204,300..304,307,308,404,429,999
5252
--include '^(http|https)://.*'
5353
--exclude '^file://'
54-
--exclude '^https?://localhost'
55-
--exclude '^https?://127\.0\.0\.1'
56-
--exclude '^https?://0\.0\.0\.0'
57-
--exclude '^https?://\[\:\:1\]'
58-
--exclude '^https?://\[\:\:\]'
59-
--exclude '^https?://support.discord.com'
54+
"--exclude ^https?://(localhost|127\.0\.0\.1|0\.0\.0\.0|\[::1\]|\[::\])"
55+
--exclude '^https?://support\.discord\.com'
6056
'./docs/**/*.md'
6157
'./docs/**/*.mdx'
6258
'./gen-docs/**/*.md'

0 commit comments

Comments
 (0)