30 lines
809 B
YAML
30 lines
809 B
YAML
name: Check Markdown Links
|
|
|
|
on:
|
|
push:
|
|
branches: [ "JK_Revisions" ]
|
|
pull_request:
|
|
branches: [ "JK_Revisions" ]
|
|
schedule:
|
|
- cron: "0 12 * * 1" # Weekly on Mondays at 12:00 UTC
|
|
workflow_dispatch: # Manual trigger
|
|
|
|
jobs:
|
|
link-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Run Markdown Link Checker
|
|
uses: gaurav-nelson/github-action-markdown-link-check@v1
|
|
with:
|
|
use-verbose-mode: "yes"
|
|
check-modified-files-only: "false"
|
|
folder-path: "."
|
|
file-extension: ".md"
|
|
config-file: ".markdown-link-check.json" # Create this for ignores
|
|
max-depth: 2 # Adjust as needed
|