articulate / actions-markdownlint

Lint Markdown files with GitHub Actions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Lint Markdown files with GitHub Actions

License:MIT License


Languages

Language:Shell 88.0%Language:Dockerfile 12.0%