-
Notifications
You must be signed in to change notification settings - Fork 0
/
check-links.yml
37 lines (32 loc) · 1.09 KB
/
check-links.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
# https://github.com/lycheeverse/lychee-action
# https://github.com/lycheeverse/lychee
name: Check Links
on:
push:
schedule:
# Run monthly
# GitHub actions uses UTC for time zone
# crontab format: minute hour day-of-month month day-of-week
- cron: "15 5 4 * *"
workflow_dispatch:
inputs:
message:
description: Message to display in job summary
required: false
type: string
override-args:
description: Override default arguments (see https://github.com/lycheeverse/lychee#commandline-parameters)
required: false
type: string
jobs:
link-checker:
name: Call Link Checker
uses: Andy4495/.github/.github/workflows/check-links.yml@main
with:
message: ${{ inputs.message }}
# Additional files to scan for links beyond default *.md **/*.md ./extras/**/*.md
extra-input-files:
override-args: ${{ inputs.override-args }}
# Use the following to exclude certain URLs from the check. Need to include "--exclude" in the definition.
# For example, --exclude '43oh.com'
exclude: