Weekly check all Markdown links #43
This file contains 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: Weekly check all Markdown links | |
on: | |
schedule: | |
# Cron for every Monday at 12:00 UTC. | |
- cron: "0 12 * * 1" | |
# Remove all permissions from GITHUB_TOKEN except metadata. | |
permissions: {} | |
jobs: | |
markdown-link-check: | |
name: Broken Links | |
strategy: | |
fail-fast: false | |
matrix: | |
branch: [ main, release-1.10, release-1.9, release-1.8, release-1.7 ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # tag=v4.1.6 | |
with: | |
ref: ${{ matrix.branch }} | |
- uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # tag=v1 | |
with: | |
use-quiet-mode: 'yes' | |
config-file: .markdownlinkcheck.json |