-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
action.yml
93 lines (74 loc) · 2.44 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
name: "urlchecker-action"
author: "Ayoub Malek, Vanessa Sochat"
description: "Automatically check for broken links in a project files. This includes python, markdwon, restructured text files and more."
inputs:
git_path:
description: "A project to clone. If not provided, assumes already cloned in the present working directory."
required: false
subfolder:
description: "A subfolder to parse instead of the root directory."
required: false
force_pass:
description: "Force pass of checking, regardless of the result."
required: false
branch:
description: "If a project (git_path) is defined, use this branch. Defaults to master"
required: false
default: master
cleanup:
description: "Cleanup (delete) repository to check after doing so (appropriate for when clone is done)"
required: false
default: false
include_files:
description: "A comma seperated list of paths or patterns to include."
required: false
default: ""
file_types:
description: "A comma-separated list of file types to cover in the URL checks"
required: false
default: ".md,.py,.rst,.html"
print_all:
description: "Choose whether to include file with no URLs in the prints."
required: false
default: false
verbose:
description: "Choose whether to print a more verbose end summary with files and broken URLs."
required: false
default: false
serial:
description: "Run in serial (good for debugging)"
required: false
default: false
retry_count:
description: "If a request fails, retry this number of times. Defaults to 1"
required: false
default: 1
save:
description: "A csv file path to save the results to."
required: false
default: ""
timeout:
description: "The timeout (seconds) to provide to requests to wait for a response."
required: false
default: 5
exclude_urls:
description: "A comma seperated links to exclude during URL checks."
required: false
default: ""
exclude_patterns:
description: "A comma seperated patterns to exclude during URL checks."
required: false
default: ""
exclude_files:
description: "A comma seperated list of paths or patterns to exclude during URL checks."
required: false
default: ""
workers:
description: "Number of workers to run in parallel (defaults to 9)"
required: false
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "link"
color: "blue"