mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
ci: Improve link checker conditions
Link checker excludes checks on local links and links with variables. Signed-off-by: Songqian Li <sionli@tencent.com>
This commit is contained in:
committed by
Rob Bradford
parent
e718e0ad36
commit
684fb1dfce
@@ -14,8 +14,16 @@ exclude = [
|
|||||||
|
|
||||||
# OSDev has added bot protection and accesses my result in 403 Forbidden.
|
# OSDev has added bot protection and accesses my result in 403 Forbidden.
|
||||||
'^https://wiki.osdev.org',
|
'^https://wiki.osdev.org',
|
||||||
|
# Exclude all pages with $ in the URL since $XXX is a variable
|
||||||
|
"\\$.*",
|
||||||
|
# Exclude local files
|
||||||
|
"file://.*",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Exclude loopback addresses
|
||||||
|
exclude_loopback = true
|
||||||
|
|
||||||
|
|
||||||
max_retries = 3
|
max_retries = 3
|
||||||
|
|
||||||
retry_wait_time = 5
|
retry_wait_time = 5
|
||||||
|
|||||||
Reference in New Issue
Block a user