Skip to content

Commit 9073119

Browse files
committed
Switch link checker to lychee
1 parent 4f94664 commit 9073119

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

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

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,10 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414

15-
- name: Install markdown-link-check
16-
# https://github.com/tcort/markdown-link-check/issues/297
17-
run: npm install -g [email protected]
18-
19-
- name: Run markdown-link-check
20-
run: |
21-
find . -type f \
22-
-name '*.md' \
23-
-not -path './CHANGELOG.md' \
24-
-not -path './licenses/*' \
25-
-not -path '*/build/*' \
26-
| xargs .github/scripts/markdown-link-check-with-retry.sh
15+
- uses: lycheeverse/lychee-action@v2
16+
with:
17+
# excluding links to pull requests and issues is done for performance
18+
args: >
19+
--include-fragments
20+
--exclude "^https://github.com/open-telemetry/opentelemetry-specification/(issue|pull)/\\d+$"
21+
.

0 commit comments

Comments
 (0)