Skip to content

Bump DavidAnson/markdownlint-cli2-action from 17 to 18 #146

Bump DavidAnson/markdownlint-cli2-action from 17 to 18

Bump DavidAnson/markdownlint-cli2-action from 17 to 18 #146

name: "Lint Markdown (Changes)"
on:
push:
paths:
- '**/*.md'
- .github/workflows/lint_md_changes.yml
pull_request:
paths:
- '**/*.md'
- .github/workflows/lint_md_changes.yml
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: tj-actions/changed-files@v45
id: changed-files
with:
files: '**/*.md'
separator: ","
- uses: DavidAnson/markdownlint-cli2-action@v18
if: steps.changed-files.outputs.any_changed == 'true'
with:
globs: ${{ steps.changed-files.outputs.all_changed_files }}
separator: ","
config: .markdownlint-cli2.yaml