Check external links #85
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: Check external links | |
on: | |
# Only check once a week to minimize the effect on others infrastructure. | |
schedule: | |
- cron: '0 4 * * 0' | |
jobs: | |
check-external-links: | |
name: Check external links | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
npm install -g markdown-link-check | |
- name: Check external links | |
run: | | |
npx --yes markdown-link-check --config tools/link-check.json $(find -name "*.md") |