Skip to content

Check links

Check links #2774

Workflow file for this run

---
name: Check links
on:
pull_request:
schedule:
# run on Sundays morning
- cron: '32 9 * * 0'
jobs:
markdown-link-check:
name: Check links using markdown-link-check
runs-on: ubuntu-latest
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on PR
ref: ${{ github.event.pull_request.head.sha }}
# Full git history needed to get proper list of changed files
fetch-depth: 0
- name: Check links on new changes
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: ".github/linters/mlc_config.json"
check-modified-files-only: ${{ github.event_name == 'pull_request' && 'yes' || 'no' }}
use-quiet-mode: "yes"
use-verbose-mode: "yes"
base-branch: "main"