Skip to content

Commit 0b2613a

Browse files
committed
Add doc validation workflow
1 parent 46240e1 commit 0b2613a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Documentation Validation
2+
3+
on:
4+
push:
5+
branches:
6+
- 4.x
7+
paths:
8+
- 'docs/**'
9+
- '.github/**'
10+
pull_request:
11+
paths:
12+
- 'docs/**'
13+
- '.github/**'
14+
15+
jobs:
16+
validate:
17+
uses: cakephp/.github/.github/workflows/docs-validation.yml@doc-workflows
18+
with:
19+
docs-path: 'docs'
20+
enable-config-js-check: true
21+
enable-json-lint: true
22+
enable-toc-check: true
23+
enable-spell-check: true
24+
enable-markdown-lint: true
25+
enable-link-check: true
26+
linkchecker-baseline: '.github/linkchecker-baseline.json'
27+
tools-ref: 'doc-workflows'

0 commit comments

Comments
 (0)