12345678910111213141516171819202122 |
- 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: |
- # --quiet displays errors only, making them easier to find in the log
- find . -type f \
- -name '*.md' \
- -not -path './CHANGELOG.md' \
- -not -path './licenses/*' \
- | xargs markdown-link-check --quiet --config .github/scripts/markdown-link-check-config.json
|