[chore] add user agent to the link check (#1013)

This commit is contained in:
Alexandra Konrad 2024-05-08 18:34:07 +02:00 committed by GitHub
parent 5c3e4f1d4a
commit ccb9a8ccce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -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]