Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
zoom-in

GitHub Action

Run markdownlint with reviewdog in nofilter mode

nofilter

Run markdownlint with reviewdog in nofilter mode

zoom-in

Run markdownlint with reviewdog in nofilter mode

🐶 Run markdownlint with reviewdog on pull requests to improve code review experience

Installation

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

              

- name: Run markdownlint with reviewdog in nofilter mode

uses: fkohrt/action-markdownlint@nofilter

Learn more about this action in fkohrt/action-markdownlint

Choose a version

GitHub Action: Run markdownlint with reviewdog

Based on reviewdog/action-shellcheck

Docker Image CI Release

This action runs markdownlint with reviewdog on pull requests to improve code review experience.

Inputs

github_token

Required. Must be in form of github_token: ${{ secrets.github_token }}'.

level

Optional. Report level for reviewdog [info,warning,error]. It's same as -level flag of reviewdog.

reporter

Reporter of reviewdog command [github-pr-check,github-pr-review,github-check]. Default is github-pr-check. github-pr-review can use Markdown and add a link to rule page in reviewdog reports.

markdownlint_flags

Optional. Flags of markdownlint command. Default: .

Example usage

name: reviewdog
on: [pull_request]
jobs:
  markdownlint:
    name: runner / markdownlint
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: markdownlint
        uses: prologic/action-markdownlint@v1
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          reporter: github-pr-review # Change reporter. (Only `github-pr-check` is supported at the moment).