forked from reviewdog/action-markdownlint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
30 lines (30 loc) · 1.03 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: 'Run markdownlint with reviewdog in nofilter mode'
description: '🐶 Run markdownlint with reviewdog on pull requests to improve code review experience.'
author: 'prologic'
inputs:
github_token:
description: 'GITHUB_TOKEN.'
level:
description: 'Report level for reviewdog [info,warning,error]'
default: 'error'
fail_on_error:
description: 'Reviewdog exits with 1 when at least one error was found/reported'
default: 'false'
reporter:
description: |
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.
default: 'github-pr-check'
filter_mode:
description: 'Control how reviewdog filters results [added,diff_context,file,nofilter]'
default: 'added'
markdownlint_flags:
description: "Options of markdownlint command. Default: '.'"
default: '.'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'zoom-in'
color: 'purple'