-
Notifications
You must be signed in to change notification settings - Fork 92
37 lines (34 loc) · 968 Bytes
/
link-check.yml
File metadata and controls
37 lines (34 loc) · 968 Bytes
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
name: Link check
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *' # monthly
push:
branches: [main]
pull_request:
branches: [main]
jobs:
link-check:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v6
- name: Discover broken links
uses: lycheeverse/lychee-action@v2
with:
args: >-
--accept 200..=206,429,403,500,502,503
--max-retries 3
--retry-wait-time 5
--timeout 60
--exclude '%7B'
--exclude 'npmjs.com'
--exclude 'linkedin.com'
--exclude 'github.com/janosh/awesome-sveltekit/network'
--exclude 'tauri.app'
--exclude 'sass-lang.com'
--exclude 'multimonitorcalculator.com'
--exclude 'lodash.com'
--exclude 'learninpublic.org'
--exclude 'parks.lol'
-- ./**/*.{md,svelte,ts,yml}