Merge pull request #5316 from dotnet/main #4424
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: Markdownlint | |
| on: | |
| push: | |
| paths: | |
| - "entity-framework/**/*.md" | |
| - "!entity-framework/ef6/**" | |
| - ".markdownlint.json" | |
| - ".github/workflows/markdownlint.yml" | |
| - ".github/workflows/markdownlint-problem-matcher.json" | |
| pull_request: | |
| paths: | |
| - "**/*.md" | |
| - "!entity-framework/ef6/**" | |
| - ".markdownlint.json" | |
| - ".github/workflows/markdownlint.yml" | |
| - ".github/workflows/markdownlint-problem-matcher.json" | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 20.x | |
| - name: Run Markdownlint | |
| run: | | |
| echo "::add-matcher::.github/workflows/markdownlint-problem-matcher.json" | |
| npm i -g markdownlint-cli | |
| markdownlint "entity-framework/**/*.md" -i "entity-framework/ef6/" |