WS-8374 description updates #125
Workflow file for this run
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 Lint | |
| on: [push] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Create markdownlint config | |
| run: | | |
| echo '{ | |
| "MD013": false | |
| }' > .markdownlint.json | |
| - name: Run Markdown Lint | |
| uses: avto-dev/markdown-lint@v1.5.0 | |
| with: | |
| args: '**/*.md' | |
| fix: true | |
| - name: Create markdown-link-check config file | |
| run: | | |
| cat > .mlc_config.json << EOF | |
| { | |
| "ignorePatterns": [ | |
| { | |
| "pattern": "^Parser.md" | |
| }, | |
| { | |
| "pattern": "^Selectors/Link%20Selector.md" | |
| }, | |
| { | |
| "pattern": "^https://regexr.com/" | |
| } | |
| ] | |
| } | |
| EOF | |
| - name: Markdown link check | |
| uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
| with: | |
| use-quiet-mode: 'yes' | |
| use-verbose-mode: 'yes' | |
| config-file: '.mlc_config.json' | |
| folder-path: '.' | |
| max-depth: -1 |