Skip to content

workflows: use new and maintained mdl implementation #19

workflows: use new and maintained mdl implementation

workflows: use new and maintained mdl implementation #19

Workflow file for this run

name: Lint
on:
push:
pull_request:
jobs:
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: tj-actions/changed-files@v45
id: changed_files
with:
files: |
content/**/*.md
!content/docs/core/all-commands.md
separator: '\n'
- name: Lint markdown files
uses: DavidAnson/markdownlint-cli2-action@v19
continue-on-error: true
if: steps.changed_files.outputs.any_changed
id: markdownlint
with:
globs:
${{ steps.changed_files.outputs.all_changed_files }}
config: config/.markdownlint.yaml