Skip to content
command

GitHub Action

Problem Matcher for markdownlint-cli

v3.0.0 Latest version

Problem Matcher for markdownlint-cli

command

Problem Matcher for markdownlint-cli

Sets up a problem matcher for markdownlint-cli that's used to create annotations for violations

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Problem Matcher for markdownlint-cli

uses: xt0rted/markdownlint-problem-matcher@v3.0.0

Learn more about this action in xt0rted/markdownlint-problem-matcher

Choose a version

Problem Matcher for markdownlint-cli

CI CodeQL

Adds a problem matcher that will detect errors from markdownlint-cli and create annotations for them.

Usage

on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: xt0rted/markdownlint-problem-matcher@v3
      - run: markdownlint **/*.md --ignore node_modules

Options

Name Allowed values Description
action add (default), remove If the problem matcher should be registered or removed

License

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