name: Link Check on: push: branches: - main schedule: - cron: '0 0 * * *' # Daily at midnight UTC workflow_dispatch: # Allow manual trigger jobs: link-check: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v7 - name: Setup Node.js uses: actions/setup-node@v7 with: node-version: '26' - name: Run link checker run: node scripts/check-links.js - name: Upload results artifact if: failure() uses: actions/upload-artifact@v7 with: name: link-check-results path: | *.log retention-days: 7