27 lines
723 B
YAML
27 lines
723 B
YAML
name: Reusable - Markdown link check
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
markdown-link-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
|
|
|
- name: Install markdown-link-check
|
|
# https://github.com/tcort/markdown-link-check/issues/297
|
|
run: npm install -g markdown-link-check@3.11.2
|
|
|
|
- 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
|