maomaowm/.github/workflows/docs.yml
copilot-swe-agent[bot] fe85cbbaae Restrict markdown linter to repository files only
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
2026-02-18 10:43:31 +00:00

35 lines
699 B
YAML

name: Documentation
on:
push:
branches: [main, master]
paths:
- '**.md'
- '.github/workflows/docs.yml'
pull_request:
branches: [main, master]
paths:
- '**.md'
- '.github/workflows/docs.yml'
workflow_dispatch:
jobs:
markdown-lint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint markdown files
uses: DavidAnson/markdownlint-cli2-action@v18
with:
globs: |
*.md
.github/**/*.md
!**/node_modules/**
!**/wayland/**
!**/wlroots/**
!**/scenefx/**