Skip to content

Commit b6652b6

Browse files
committed
Add lychee link checker workflow
1 parent 210aa55 commit b6652b6

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/link-check.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Link Check
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '**/*.md'
7+
- '**/*.mdx'
8+
- '**/*.html'
9+
- 'docs/**'
10+
- 'blog/**'
11+
- 'static/**'
12+
- 'docusaurus.config.js'
13+
- 'sidebars.js'
14+
schedule:
15+
- cron: '0 3 * * 1'
16+
workflow_dispatch:
17+
18+
jobs:
19+
lychee:
20+
name: Check links with lychee
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
- name: Run lychee
26+
uses: lycheeverse/lychee-action@v1.10.0
27+
with:
28+
args: "--verbose --no-progress --exclude-mail"
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)