Document and test sarif_list_rules per-rule resultCount field
#360
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: | |
| pull_request: | |
| workflow_call: | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| markdown-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 'Checkout Repository' | |
| uses: actions/checkout@v6 | |
| - name: "Filter Changes" | |
| uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 | |
| id: changes | |
| with: | |
| filters: | | |
| src: | |
| - '**.md' | |
| # lint markdown | |
| - name: "Lint Markdown" | |
| if: steps.changes.outputs.src == 'true' | |
| run: | | |
| npm install -g markdownlint-cli | |
| markdownlint '**.md' --ignore node_modules --disable MD013 |