Skip to content

Commit cb42d29

Browse files
committed
ENH: Add link checker GHA workflow file
Add link checker GHA workflow file: use the `lychee` action to check for broken links in Markdown, HTML, reStructuredText, and other files. Repository: https://github.com/lycheeverse/lychee-action Documentation: https://lychee.cli.rs/introduction/
1 parent 600e811 commit cb42d29

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/linkcheck.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Check links
2+
3+
on: [push, pull_request]
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
linkcheck:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Check links
16+
id: lychee
17+
uses: lycheeverse/lychee-action@v2
18+
with:
19+
fail: true

0 commit comments

Comments
 (0)