Skip to content

Commit 19cd5ff

Browse files
committed
add link-check CI workflow
1 parent 0e28664 commit 19cd5ff

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/link-check.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Check for broken links
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
lychee:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Run lychee link checker
16+
uses: lycheeverse/[email protected]
17+
with:
18+
args: >-
19+
--verbose
20+
--no-progress
21+
--exclude-mail
22+
**/*.md
23+
fail: true
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)