Skip to content

Check Markdown links #3998

Check Markdown links

Check Markdown links #3998

Workflow file for this run

name: Check Markdown links
on:
schedule:
- cron: "0 9 * * 1-5" # run once a day, M-F
workflow_dispatch:
# only allow one instance of this workflow to be running per PR or branch, cancels any that are already running
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
markdown-link-check:
runs-on: ubuntu-latest
# don't run this job if triggered by Dependabot
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@1b05615854632b887b69ae1be8cbefe72d3ae423 # v2.6.0
with:
egress-policy: audit # Leave it audit mode
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1
with:
#use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: '.github/workflows/markdowncheck.config.json'
#max-depth: 2