reusable-markdown-link-check.yml 530 B

123456789101112131415161718192021
  1. name: Reusable - Markdown link check
  2. on:
  3. workflow_call:
  4. jobs:
  5. markdown-link-check:
  6. runs-on: ubuntu-latest
  7. steps:
  8. - uses: actions/checkout@v3
  9. - name: Install markdown-link-check
  10. run: npm install -g markdown-link-check
  11. - name: Run markdown-link-check
  12. run: |
  13. find . -type f \
  14. -name '*.md' \
  15. -not -path './CHANGELOG.md' \
  16. -not -path './licenses/*' \
  17. | xargs .github/scripts/markdown-link-check-with-retry.sh