Skip to content

Check markdown links #472

Check markdown links

Check markdown links #472

Workflow file for this run

name: Check markdown links
on:
push:
paths:
- "**.md"
pull_request:
paths:
- "**.md"
schedule:
- cron: "45 22 * * 1,4"
# Restrict jobs in this workflow to have no permissions by default; permissions
# should be granted per job as needed using a dedicated `permissions` block
permissions: {}
jobs:
check:
permissions:
contents: read # to fetch code (actions/checkout)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: tcort/github-action-markdown-link-check@e7c7a18363c842693fadde5d41a3bd3573a7a225 # v1.1.2
with:
use-quiet-mode: "yes"
base-branch: "main"
check-modified-files-only: ${{ github.event_name == 'schedule' && 'yes' || 'no'}}