Skip to content

Markdown Lint

Markdown Lint #299

Workflow file for this run

name: Markdown Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: tj-actions/changed-files@v44
id: changed-files
with:
files: '**/*.md'
separator: ","
- uses: DavidAnson/markdownlint-cli2-action@v16
if: steps.changed-files.outputs.any_changed == 'true'
continue-on-error: true
with:
config: './.markdownlint.json'
globs: ${{ steps.changed-files.outputs.all_changed_files }}
separator: ","