File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Docs External Link Audit
2+
3+ on :
4+ schedule :
5+ - cron : " 47 7 * * 1"
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+
11+ concurrency :
12+ group : docs-external-link-audit
13+ cancel-in-progress : false
14+
15+ jobs :
16+ audit :
17+ runs-on : ubuntu-24.04
18+ timeout-minutes : 45
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
22+ with :
23+ persist-credentials : false
24+
25+ - name : Audit external links
26+ uses : lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2.9.0
27+ with :
28+ args : >-
29+ --no-progress
30+ --base-url https://docs.openclaw.ai
31+ --exclude-all-private
32+ --accept '100..=399,401,403,429'
33+ --accept-timeouts
34+ --max-retries 2
35+ --retry-wait-time 2
36+ --timeout 20
37+ --scheme http
38+ --scheme https
39+ --exclude '^https://docs\.openclaw\.ai/'
40+ --exclude '^https://github\.com/openclaw/maintainers/'
41+ --exclude '^https://(claude\.ai|help\.openai\.com|openai\.com|platform\.openai\.com|support\.discord\.com|www\.npmjs\.com|www\.raspberrypi\.com)/'
42+ './README.md'
43+ './CONTRIBUTING.md'
44+ './SECURITY.md'
45+ './docs/**/*.md'
46+ './docs/**/*.mdx'
47+ './docs/docs.json'
48+ fail : false
49+ failIfEmpty : true
50+ format : markdown
51+ output : .artifacts/docs-external-links/report.md
52+
53+ - name : Upload audit report
54+ if : always()
55+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
56+ with :
57+ name : docs-external-link-audit
58+ path : .artifacts/docs-external-links
59+ include-hidden-files : true
60+ if-no-files-found : warn
61+ retention-days : 14
You can’t perform that action at this time.
0 commit comments