-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
74 lines (74 loc) · 2.16 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
name: 'Broken-Links-Crawler'
description: 'Checks a webiste for broken links'
branding:
color: red
icon: check-circle
inputs:
website_url: # id of input
description: 'Which websites to check'
required: true
include_url_prefix:
description: 'Comma separated list of URL prefixes to include'
required: false
default: ''
exclude_url_prefix:
description: 'Comma separated list of URL prefixes to ignore'
required: false
default: 'mailto:,tel:'
include_url_suffix:
description: 'Comma separated list of URL suffixes to include'
required: false
default: ''
exclude_url_suffix:
description: 'Comma separated list of URL suffixes to ignore'
required: false
default: ''
include_url_contained:
description: 'Comma separated list of URL substrings to include'
required: false
default: ''
exclude_url_contained:
description: 'Comma separated list of URL substrings to ignore'
required: false
default: ''
verbose:
description: 'Set logging verbosity level: true/false/yes/no/on/off/debug/info/warning/error/critical'
required: false
default: 'false'
max_retry_time:
description: 'Maximum time for request retries'
required: false
default: 30
max_retries:
description: 'Maximum request retry count'
required: false
default: 4
max_depth:
description: 'Maximum site depth level'
required: false
default: -1
always_get_onsite:
description: 'Always use GET requests for onsite urls'
required: false
default: 'false'
connect_limit_per_host:
description: 'Limit number of tcp connections per host'
required: false
default: '10'
timeout:
description: 'Number of seconds to wait for a request to complete'
required: false
default: '60'
search_attrs:
description: 'Names of element attributes to extract links from'
required: false
default: 'href,src'
resolve_before_filtering:
description: 'Enables absolute link resolution before applying filtering patterns'
required: false
default: 'false'
runs:
using: 'docker'
image: 'Dockerfile'
# args:
# don't put args here, python will read them from env