Set pwd for precommit.sh script to support running it in any director… #3783
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Markdown link check | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '**/*.md' | |
| jobs: | |
| markdown-link-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install markdown-link-check | |
| run: npm install -g [email protected] | |
| - name: Run markdown-link-check | |
| run: | | |
| find . -type f \ | |
| -name '*.md' \ | |
| -not -path '**/CHANGELOG.md' \ | |
| | xargs ./scripts/markdown-link-check-with-retry.sh |