mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-02 06:46:29 -04:00
Restrict markdown linter to repository files only
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
This commit is contained in:
parent
304832e4da
commit
fe85cbbaae
2 changed files with 7 additions and 2 deletions
3
.github/workflows/README.md
vendored
3
.github/workflows/README.md
vendored
|
|
@ -55,9 +55,10 @@ This directory contains the GitHub Actions workflows for the MangoWC project.
|
|||
- Workflow file itself: `.github/workflows/docs.yml`
|
||||
|
||||
**What it does**:
|
||||
- Lints all markdown files using markdownlint-cli2
|
||||
- Lints markdown files in the repository using markdownlint-cli2
|
||||
- Checks for common markdown formatting issues
|
||||
- Ensures documentation follows consistent style guidelines
|
||||
- Excludes dependency directories (wayland, wlroots, scenefx) to only lint repository files
|
||||
|
||||
### lock.yml
|
||||
**Purpose**: Automatically locks inactive issues and PRs to keep the repository clean.
|
||||
|
|
|
|||
6
.github/workflows/docs.yml
vendored
6
.github/workflows/docs.yml
vendored
|
|
@ -27,5 +27,9 @@ jobs:
|
|||
uses: DavidAnson/markdownlint-cli2-action@v18
|
||||
with:
|
||||
globs: |
|
||||
**/*.md
|
||||
*.md
|
||||
.github/**/*.md
|
||||
!**/node_modules/**
|
||||
!**/wayland/**
|
||||
!**/wlroots/**
|
||||
!**/scenefx/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue