From ccb9a8ccce880d3410baf50bb5f4c7d8c0915381 Mon Sep 17 00:00:00 2001 From: Alexandra Konrad <10500694+trisch-me@users.noreply.github.com> Date: Wed, 8 May 2024 18:34:07 +0200 Subject: [PATCH] [chore] add user agent to the link check (#1013) --- .markdown_link_check_config.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.markdown_link_check_config.json b/.markdown_link_check_config.json index ede6fbc5e..26a609bf9 100644 --- a/.markdown_link_check_config.json +++ b/.markdown_link_check_config.json @@ -17,6 +17,14 @@ "replacement": "LINK-CHECK-ERROR-USE-LOCAL-PATH-TO-DOC-PAGE-NOT-EXTERNAL-URL/" } ], + "httpHeaders": [ + { + "urls": ["http", ".", "/"], + "headers": { + "User-Agent": "Mozilla/5.0 (compatible; OpenTelemetryDocsBot/1.0;" + } + } + ], "retryOn429": true, "timeout": "30s", "aliveStatusCodes": [200, 403]