Check Markdown links #761
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 Markdown links | |
on: | |
push: | |
paths: | |
- "**.md" | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "**.md" | |
schedule: | |
- cron: "0 9 * * *" | |
permissions: | |
contents: read | |
jobs: | |
markdown-link-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.0.0 | |
- uses: gaurav-nelson/github-action-markdown-link-check@d53a906aa6b22b8979d33bc86170567e619495ec # v1.0.15 | |
with: | |
# this will only show errors in the output | |
use-quiet-mode: 'yes' | |
# this will show detailed HTTP status for checked links | |
use-verbose-mode: 'yes' | |
config-file: .markdownlinkcheck.json |