-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
73 lines (70 loc) · 2.03 KB
/
action.yml
File metadata and controls
73 lines (70 loc) · 2.03 KB
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
name: Proof HTML
author: step-security
description: Validate your HTML and CSS and check for broken links.
inputs:
directory:
description: The directory to scan
required: true
check_html:
description: Validate HTML
required: false
check_css:
description: Validate CSS
required: false
validator_ignore:
description: Regex of HTML/CSS validator errors to ignore
required: false
check_external_hash:
description: Check whether external anchors exist
required: false
check_opengraph:
description: Check images and URLs in Open Graph metadata
required: false
check_favicon:
description: Check whether favicons are valid
required: false
ignore_empty_alt:
description: Allow images with empty alt tags
required: false
ignore_missing_alt:
description: Allow images with missing alt tags
required: false
allow_missing_href:
description: Allow anchors with missing href tags
required: false
enforce_https:
description: Require that links use HTTPS
required: false
tokens:
description: JSON-encoded map of domains to authorization tokens
required: false
swap_urls:
description: JSON-encoded map of URL rewrite rules
required: false
max_concurrency:
description: Maximum number of concurrent requests
required: false
connect_timeout:
description: HTTP connection timeout
required: false
timeout:
description: HTTP request timeout
required: false
disable_external:
description: Disables the external link checker
required: false
ignore_url:
description: Newline-separated list of URLs to ignore
required: false
ignore_url_re:
description: Newline-separated list of URL regexes to ignore
required: false
retries:
description: Number of times to retry checking links
required: false
runs:
using: docker
image: "docker://ghcr.io/step-security/proof-html:v2.2.6@sha256:6798b452ff39657022ff545a2bf0d7fb24903ec385e6c47884a04c9da6f547a8" #v2.2.6
branding:
icon: check-square
color: green