-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
47 lines (43 loc) · 1.27 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
name: 'PR Todo Checker'
description: 'Find and comment on TODOs in pull requests'
branding:
icon: 'check-square'
color: 'green'
inputs:
token:
description: 'GitHub token'
required: true
exclude:
description:
'Exclude file patterns. User list of globs separated by new line.'
required: false
comment_on_todo:
description: 'Comment on the TODO in the PR'
required: false
default: 'true'
comment_body:
description:
'Comment body to use when a TODO is found. Use {todo} to insert the TODO
message.'
required: false
default: "A new Todo was discovered. If it is not a priority right now,\
consider marking it for later attention.\n{todo}\n"
comment_checkbox:
description:
'Checkbox message to ignore the TODO. Use {todo} to insert the TODO
message.'
required: false
default: 'Ignore'
custom_todo_matcher:
description: "Add custom comment indicators for specific file types. Use
JSON format.\
Example: {'js': ['//', '/*'], 'py': ['#']}"
required: false
default: '{}'
custom_ignore_matcher:
description: "Add custom regex to ignore TODOs that match in the same line.\
Example: my-issue-website.com"
required: false
runs:
using: 'node20'
main: 'dist/index.js'