Skip to content

Commit b417500

Browse files
committed
add config file for the markdown checker
1 parent 360897b commit b417500

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

.github/workflows/reusable-markdown-link-check.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ jobs:
1414

1515
- uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
1616
with:
17-
# excluding links to pull requests and issues is done for performance
1817
args: >
19-
--include-fragments
20-
--exclude "^https://github.com/open-telemetry/opentelemetry-java/(issues|pull)/\\d+$"
21-
--max-retries 6
22-
--retry-wait-time 10
23-
--max-concurrency 1
18+
--config ./lychee.toml
2419
.

lychee.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
timeout = 30
2+
retry_wait_time = 10
3+
max_retries = 6
4+
max_concurrency = 1
5+
6+
# Stealth
7+
user_agent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0"
8+
9+
# Check fragments in links
10+
include_fragments = true
11+
12+
# excluding links to pull requests and issues is done for performance
13+
exclude = [
14+
"^https://github.com/open-telemetry/opentelemetry-java/(issues|pull)/\\d+$"
15+
]
16+
17+

0 commit comments

Comments
 (0)