name: Reusable - Markdown link check on: workflow_call: permissions: contents: read jobs: markdown-link-check: runs-on: ubuntu-latest steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - 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