Skip to content

Commit f16820d

Browse files
committed
fix lychee
1 parent 5cae04f commit f16820d

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
- uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
1616
with:
1717
args: >
18-
--config lychee.toml
19-
--include-fragments
18+
--config ./lychee.toml
2019
--github-token ${{ github.token }}
2120
.

lychee.toml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
max_retries = 6
22
max-concurrency = 4
33
cache = true
4+
no_progress = true
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 links inside `<code>` and `<pre>` blocks and Markdown code blocks
10+
include_verbatim = true
11+
12+
# Check fragments in links
13+
include_fragments = true
414

515
# excluding links to pull requests and issues is done for performance
616
# stackexchange link fails with 403 when accessed by lychee
717
exclude = [
8-
'^https://github.com/open-telemetry/opentelemetry-java-instrumentation/(issues|pull)/\\d+$',
18+
'^https://github.com/open-telemetry/opentelemetry-java-instrumentation/(issues|pull)/\d+$',
919
'^http://code.google.com/p/concurrentlinkedhashmap$',
10-
'^https://softwareengineering.stackexchange.com/questions/29727',
20+
'^https://softwareengineering.stackexchange.com/questions/29727.*',
1121
'^https://central.sonatype.com/service/rest/repository/browse/maven-snapshots/io/opentelemetry/$',
22+
'^http://localhost:4318/.*',
1223
]
1324

1425

0 commit comments

Comments
 (0)