0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-12-22 21:03:53 +01:00
markdownlint-cli2-action/action.yml

32 lines
1 KiB
YAML
Raw Normal View History

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
2021-01-13 07:10:33 +01:00
inputs:
command:
description: Command to run (unset, "fix", or "config")
deprecationMessage: This input is deprecated in favor of the "fix" and "config" inputs
default: ''
required: false
config:
description: Path of a file to use for the base configuration object (defaults to none)
default: ''
required: false
fix:
description: Whether to fix supported issues automatically (any truthy value enables)
default: ''
required: false
globs:
description: Glob expression(s) of files to lint (newline-delimited)
2021-01-13 07:10:33 +01:00
default: '*.{md,markdown}'
required: false
separator:
description: String to use as a separator for the "globs" input (defaults to newline)
default: "\n"
required: false
2021-01-13 07:10:33 +01:00
runs:
using: node16
main: dist/index.js