Skip to content

Commit

Permalink
[CI] Report link-check error when external URL used for local doc page (
Browse files Browse the repository at this point in the history
#498)

Co-authored-by: Carlos Alberto Cortez <[email protected]>
  • Loading branch information
chalin and carlosalberto authored Jul 19, 2023
1 parent afcd2aa commit 1ced00e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .markdown_link_check_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
],
"replacementPatterns": [
{
"pattern": "^/",
"replacement": "{{BASEURL}}/"
"pattern": "^/",
"replacement": "{{BASEURL}}/"
},
{
"pattern": "^https://github.com/open-telemetry/opentelemetry-proto/(blob|tree)/[^/]+/docs/",
"replacement": "LINK-CHECK-ERROR-USE-LOCAL-PATH-TO-DOC-PAGE-NOT-EXTERNAL-URL/"
}
],
"retryOn429": true,
Expand Down

0 comments on commit 1ced00e

Please sign in to comment.