0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-10-16 12:07:01 +02:00
markdownlint-cli2-action/action.yml
2023-04-29 20:21:23 -07:00

22 lines
662 B
YAML

name: markdownlint-cli2-action
author: David Anson
description: A GitHub Action to run the markdownlint-cli2 tool for linting Markdown/CommonMark files with the markdownlint library
branding:
icon: check-square
color: orange
inputs:
command:
description: Command to run (unset, "fix", or "config")
default: ''
required: false
globs:
description: Glob expression(s) of files to lint (newline-delimited)
default: '*.{md,markdown}'
required: false
separator:
description: String to use as a separator for the "globs" input (defaults to newline)
default: "\n"
required: false
runs:
using: node18
main: dist/index.js