Skip to content

docs: weekly architecture docs refresh automation #416

docs: weekly architecture docs refresh automation

docs: weekly architecture docs refresh automation #416

name: Check Broken Links
on:
pull_request:
branches:
- '**'
push:
branches:
- main
schedule:
# Run weekly on Monday at 9 AM UTC to catch links that break over time
- cron: '0 9 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
check-broken-links:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install Mintlify CLI
run: npm install -g mintlify@latest
- name: Check for broken links
run: |
echo "Running broken link detection..."
mint broken-links
echo "✓ No broken links found!"