接入 Quarto 工具链:书目骨架 + 章节占位 + GitHub Alerts 过滤器 #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Link Check | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| schedule: | |
| # 每周一早 8 点(UTC)跑一次,捕捉外链失效 | |
| - cron: '0 8 * * 1' | |
| jobs: | |
| check-links: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check Markdown links | |
| uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
| with: | |
| use-quiet-mode: 'yes' | |
| use-verbose-mode: 'yes' | |
| config-file: '.github/markdown-link-check-config.json' | |
| file-extension: '.md' | |
| folder-path: '.' | |
| base-branch: 'main' |