Skip to content

Commit 34eafdc

Browse files
committed
(workflows) added CI for checking links
1 parent e2f7698 commit 34eafdc

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/check-links.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Check links
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "README.md"
7+
- "docs/**"
8+
- "scripts/check_links.py"
9+
- "requirements.txt"
10+
- "check-links.toml"
11+
- ".github/workflows/check-links.yml"
12+
push:
13+
branches:
14+
- master
15+
paths:
16+
- "README.md"
17+
- "docs/**"
18+
- "scripts/check_links.py"
19+
- "requirements.txt"
20+
- "check-links.toml"
21+
- ".github/workflows/check-links.yml"
22+
workflow_dispatch:
23+
24+
jobs:
25+
check-links:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v6
29+
- name: Install dependencies
30+
run: python -m pip install -r requirements.txt
31+
- name: Check documentation links
32+
run: python scripts/check_links.py --config check-links.toml --verbose

0 commit comments

Comments
 (0)