forked from errata-ai/vale-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
77 lines (64 loc) · 1.83 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: Vale Linter
description: The official GitHub Action for Vale -- install, manage, and run Vale with ease.
author: jdkato
branding:
icon: check
color: green
inputs:
version:
description: "The Vale CLI version to install."
required: false
default: "latest"
files:
description: 'The files to lint: "all" or "<some_folder>".'
required: false
default: all
debug:
description: "Log debugging information to stdout."
required: false
default: "false"
reporter:
description: "Reporter of reviewdog command [github-pr-check,github-pr-review,github-pr-annotations,github-check]."
required: false
default: "github-pr-annotations"
fail_on_error:
description: |
(Deprecated) Exit code for reviewdog when errors are found [true,false]
Default is `false`.
required: false
default: "false"
fail_level:
description: |
Minimum report level at which reviewdog exits with code `1` [none,any,info,warning,error]
Default is `none`.
required: false
default: "none"
level:
description: "Report level for reviewdog [info,warning,error]."
required: false
default: "error"
filter_mode:
description: |
Filtering for the reviewdog command [added,diff_context,file,nofilter].
Default is added.
required: false
default: "added"
vale_flags:
description: "Space-delimited list of flags for the Vale CLI."
required: false
default: ""
separator:
description: "Split character for input strings."
required: false
default: ""
reviewdog_url:
description: "The URL to a tar.gz build of reviewdog to use in the action"
required: false
default: ""
token:
description: "The GitHub token to use."
required: false
default: ${{ github.token }}
runs:
using: "node20"
main: "lib/main.js"