Skip to content

Commit

Permalink
Switch link checker to lychee
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Dec 19, 2024
1 parent 4f94664 commit e4f1f23
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/reusable-markdown-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,10 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install markdown-link-check
# https://github.com/tcort/markdown-link-check/issues/297
run: npm install -g [email protected]

- name: Run markdown-link-check
run: |
find . -type f \
-name '*.md' \
-not -path './CHANGELOG.md' \
-not -path './licenses/*' \
-not -path '*/build/*' \
| xargs .github/scripts/markdown-link-check-with-retry.sh
- uses: lycheeverse/lychee-action@v2
with:
# excluding links to pull requests and issues is done for performance
args: >
--include-fragments
--exclude "^https://github.com/open-telemetry/opentelemetry-java-instrumentation/(issue|pull)/\\d+$"
.

0 comments on commit e4f1f23

Please sign in to comment.