Skip to content

Commit a99eaf4

Browse files
ci: Add link checking workflow
Uses lychee to check internal links on push/PR. Excludes api/ (auto-generated) and elements/ (external links). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent d0f43b7 commit a99eaf4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/linkcheck.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Link Check
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
linkcheck:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Check internal links in source files
16+
uses: lycheeverse/lychee-action@v2
17+
with:
18+
args: >-
19+
--offline
20+
--no-progress
21+
--exclude-path src/api
22+
--exclude-path src/elements
23+
--exclude '^https?://'
24+
'src/**/*.md'
25+
'src/**/*.ipynb'
26+
fail: true

0 commit comments

Comments
 (0)