Skip to content

permutive-engineering/github-action-markdown-cli

 
 

Repository files navigation

github-action-markdown-cli

A GitHub Action that performs style checking and linting for Markdown/CommonMark files using markdownlint-cli.

CI Workflow Status Release Workflow Status

Usage

Basic usage with all options enabled:

      - name: markdownlint-cli
        uses: nosborn/[email protected]
        with:
          files: .
          config_file: ".markdownlint.yaml"
          ignore_files: "examples/ignore/*"
          rules: "examples/rules/custom.js"

Inputs

  • files - what to process (files, directories, globs)
  • config_file (optional) - configuration file (JSON or YAML)
  • ignore_files (optional) - files to ignore/exclude (file, directory, glob)
  • rules (optional) - custom rule files (file, directory, glob, package)

License

The scripts and documentation in this project are released under the MIT License.

About

Style checking and linting for Markdown/CommonMark files.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 84.6%
  • Dockerfile 15.4%