Fix #3397 . #89
Workflow file for this run
This file contains 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 -- |