Skip to content

Commit a88b5fe

Browse files
committed
Added status code to accept list
1 parent a2871a1 commit a88b5fe

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/lychee.toml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ timeout = 10
3131
retry_wait_time = 1
3232

3333
# Accept more status codes (follow redirects automatically)
34-
accept = ["200..=204", "301..=308", "429"]
34+
accept = ["200..=204", "301..=308", "429", "502", "522"]
3535

3636
# Avoid false fragment errors
3737
include_fragments = false
@@ -53,10 +53,14 @@ exclude = [
5353
'^https?://localhost',
5454
'^https?://127\\.0\\.0\\.1',
5555
'^https://www\\.linkedin\\.com',
56-
'^https?://(www\\.)?issues\\.umbraco\\.org(/.*)?$',
57-
'^https?://web\\.archive\\.org/web/',
58-
'(?i)version-specific#umbraco-[0-9]+$',
59-
'(?i)#umbraco-[0-9]+$'
56+
# Exclude all issues.umbraco.org links (they're unreliable)
57+
'issues\\.umbraco\\.org',
58+
# Exclude umbraco.com blog posts that return errors
59+
'umbraco\\.com/blog/',
60+
# Exclude web archive links
61+
'web\\.archive\\.org/web/',
62+
# Exclude anchor links to version-specific sections (e.g., #umbraco-14)
63+
'#umbraco-[0-9]+',
6064
]
6165

6266
# Exclude these filesystem paths from getting checked.
@@ -77,4 +81,4 @@ include_mail = true
7781
############################# Content Checks ######################
7882
# Mark pages as broken if the body contains "page not found" or "404"
7983
[content]
80-
deny = ["(?i)page not found", "(?i)404"]
84+
deny = ["(?i)page not found", "(?i)404"]

0 commit comments

Comments
 (0)