Skip to content

Commit 1028192

Browse files
btiernayclaude
andcommitted
Add GitHub Actions workflow for checking broken links
Adds a new GitHub Actions workflow that automatically runs the Mintlify link checker on pull requests to catch broken links before they're deployed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c5fe69d commit 1028192

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/check-links.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Check links
2+
3+
on: pull_request
4+
5+
jobs:
6+
check-links:
7+
name: Check links
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Set up Node
12+
uses: actions/setup-node@v4
13+
with:
14+
node-version: "22.x"
15+
- name: Install Mintlify CLI
16+
run: npm i -g mint
17+
- name: Run broken link checker
18+
run: mint broken-links

0 commit comments

Comments
 (0)