Skip to content

Add doc validation workflow + fix linting errors #7

Add doc validation workflow + fix linting errors

Add doc validation workflow + fix linting errors #7

Workflow file for this run

name: Documentation Validation
on:
push:
branches:
- 4.x
paths:
- 'docs/**'
- '.github/**'
pull_request:
paths:
- 'docs/**'
- '.github/**'
jobs:
validate:
uses: cakephp/.github/.github/workflows/docs-validation.yml@doc-workflows

Check failure on line 17 in .github/workflows/docs-validation.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs-validation.yml

Invalid workflow file

error parsing called workflow ".github/workflows/docs-validation.yml" -> "cakephp/.github/.github/workflows/docs-validation.yml@doc-workflows" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
with:
docs-path: 'docs'
vitepress-path: 'docs/.vitepress'
enable-config-js-check: true
enable-json-lint: true
enable-toc-check: true
enable-spell-check: true
enable-markdown-lint: true
enable-link-check: true
tools-ref: 'doc-workflows'