-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
51 lines (51 loc) · 1.51 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: 'Run redpen with reviewdog'
description: '🐶Run redpen with reviewdog on pull requests to improve document writing experience.'
author: 'Tsuyoshi CHO <[email protected]>'
inputs:
github_token:
description: 'GITHUB_TOKEN.'
required: true
default: ${{ github.token }}
level:
description: 'Report level for reviewdog [info,warning,error]'
default: 'error'
reporter:
description: |
Reporter of reviewdog command [github-check,github-pr-review].
Default is github-pr-review.
github-pr-review can use Markdown and add a link to rule page in reviewdog reports.
default: 'github-pr-review'
filter_mode:
description: |
Filtering mode for the reviewdog command [added,diff_context,file,nofilter].
Default is added.
default: 'added'
fail_on_error:
description: |
Exit code for reviewdog when errors are found [true,false]
Default is `false`.
default: 'false'
reviewdog_flags:
description: 'Additional reviewdog flags'
default: ''
basedir:
description: "document basedir. Default: '.'"
required: true
default: '.'
targets:
description: "document files. Default: '*'"
required: true
default: '*'
config:
description: "config file path. Default(use redpen default rule): ''"
required: true
default: ''
tool_name:
description: 'Tool name to use for reviewdog reporter'
default: 'redpen'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'alert-octagon'
color: 'blue'