Markdown Link Check #235
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: Markdown Link Check | |
| on: | |
| pull_request: | |
| schedule: | |
| # Run every Monday at 9:00 AM UTC | |
| - cron: "0 9 * * 1" | |
| jobs: | |
| markdown-link-check: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'The-AI-Alliance/gofannon' | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Check links | |
| uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
| with: | |
| use-quiet-mode: 'yes' | |
| base-branch: 'main' | |
| # Only check modified files for PRs | |
| check-modified-files-only: ${{ github.event_name == 'pull_request' && 'yes' || 'no' }} | |
| # For scheduled runs, check all files with verbose output | |
| use-verbose-mode: ${{ github.event_name == 'schedule' && 'yes' || 'no' }} |