actions-markdownlint icon indicating copy to clipboard operation
actions-markdownlint copied to clipboard

Lint Markdown files with GitHub Actions

markdownlint action

This action lints your Markdown files with markdownlint-cli.

Usage

Including the action without any defaults will find a local markdownlint config file (.markdownlint.{yaml,yml,json}) or use our included default and scan all files with the md or markdown extension.

- uses: articulate/actions-markdownlint@v1

You can set the config file, the files it scans, files/directories to ignore, or the version of markdownlint-cli to install.

- uses: articulate/actions-markdownlint@v1
  with:
    config: markdownlint-config.json
    files: 'docs/**/*.md'
    ignore: node_modules
    version: 0.28.1