-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
58 lines (55 loc) · 1.17 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
name: 'ktlint-check'
description: 'Run ktlint to check your code and annotate pull requests with errors'
author: 'Anton Musichin'
branding:
icon: 'check'
color: 'orange'
inputs:
ktlint-version:
required: true
default: '1.1.1'
description: 'Version of ktlint, e.g. "1.1.1"'
level:
required: true
default: 'error'
description: 'Annotation level for lint errors. Possible values: "error", "warning", "notice", "none"'
# use "ktlint --help" for more information
patterns:
required: false
code-style:
required: false
disabled_rules:
required: false
format:
required: false
limit:
required: false
relative:
required: false
reporter:
required: false
ruleset:
required: false
editorconfig:
required: false
experimental:
required: false
baseline:
required: false
log-level:
required: false
android:
required: false
deprecationMessage: code-style
debug:
required: false
deprecationMessage: log-level
trace:
required: false
deprecationMessage: log-level
verbose:
required: false
deprecationMessage: log-level
runs:
using: 'node20'
main: 'dist/index.js'