opentelemetry-java-instrume.../.github/workflows/reusable-markdown-link-chec...

23 lines
582 B
YAML

name: Reusable - Markdown link check
on:
workflow_call:
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install markdown-link-check
run: npm install -g markdown-link-check
- name: Run markdown-link-check
run: |
find . -type f \
-name '*.md' \
-not -path './CHANGELOG.md' \
-not -path './licenses/*' \
| xargs markdown-link-check \
--config .github/scripts/markdown-link-check-config.json