feat: skip regex resource matching when exact match exists (default d… #169
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: document-lint | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - master | |
| - "1.8" | |
| - "2.0" | |
| jobs: | |
| document-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - run: npm install -g markdownlint-cli | |
| - name: use markdownlint-cli to lint markdown file | |
| run: | | |
| find ./ -name "*.md" | grep -v vendor | grep -v commandline | grep -v .github | grep -v swagger | grep -v api | \ | |
| xargs markdownlint --disable MD010 MD013 MD024 MD029 MD033 MD036 -- |