-
Notifications
You must be signed in to change notification settings - Fork 66
32 lines (28 loc) · 849 Bytes
/
markdown-links.yml
File metadata and controls
32 lines (28 loc) · 849 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
28
29
30
31
32
name: Validate Markdown Links
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths: ['**/*.md']
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check markdown links
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: '.github/workflows/markdown-link-config.json'
folder-path: '.'
file-path: './README.md'
- name: Check docs folder
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: '.github/workflows/markdown-link-config.json'
folder-path: './docs'