Skip to content

Commit 0960f51

Browse files
committed
Replace lychee with linkcheck
1 parent 1bd95fc commit 0960f51

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: "Link Checker with External Links"
3+
4+
on:
5+
schedule:
6+
- cron: '0 10 * * *' # Daily at 10
7+
workflow_dispatch:
8+
9+
jobs:
10+
link_checker:
11+
name: "Link Checker"
12+
runs-on: "ubuntu-latest"
13+
timeout-minutes: 15
14+
steps:
15+
- uses: "actions/checkout@v3"
16+
- name: "Link Checker"
17+
uses: "filiph/[email protected]"
18+
with:
19+
args: "--skip-file linkcheck-skip.txt -e https://authzed.com/docs"

.github/workflows/link-checker.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: "Link Checker (Fail Fast)"
2+
name: "Link Checker"
33

44
on:
55
push:
@@ -29,7 +29,6 @@ jobs:
2929
steps:
3030
- uses: "actions/checkout@v3"
3131
- name: "Link Checker"
32-
uses: "lycheeverse/[email protected].0"
32+
uses: "filiph/[email protected].0"
3333
with:
34-
fail: true
35-
args: "--verbose --no-progress --exclude '^https://github.com/.*.mdx' ${{ needs.preview.outputs.preview_url }}"
34+
args: "--skip-file linkcheck-skip.txt ${{ needs.preview.outputs.preview_url }}"

linkcheck-skip.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.*/_next/.*
2+
https://authzed.com/zanizbar/.*
3+
https://pkg.go.dev/.*
4+
https://pprof.me
5+
https://www.researchgate.net/profile/Carrie-Gates-2/publication/240787391_Access_Control_Requirements_for_Web_20_Security_and_Privacy/links/540e6f670cf2d8daaacd4adf/Access-Control-Requirements-for-Web-20-Security-and-Privacy.pdf

0 commit comments

Comments
 (0)