-
Notifications
You must be signed in to change notification settings - Fork 1
27 lines (24 loc) · 771 Bytes
/
links.yml
File metadata and controls
27 lines (24 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Links Check
on:
repository_dispatch:
workflow_dispatch:
# runs every monday at 7 am
schedule:
- cron: "0 7 * * 1"
jobs:
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: gaurav-nelson/github-action-markdown-link-check@v1
# checks all markdown files from /content including all subfolders
with:
use-quiet-mode: 'yes'
config-file: '.github/workflows/markdown.links.config.json'
folder-path: 'content/'
- uses: actions/checkout@main
- uses: gaurav-nelson/github-action-markdown-link-check@v1
# checks all markdown files from root (README.md) but ignores subfolders
with:
use-quiet-mode: 'yes'
max-depth: 0