RLE-wiki/.github/workflows/markdownlint.yml

23 lines
384 B
YAML
Raw Permalink Normal View History

2025-02-10 11:58:19 +08:00
name: Run markdownlint
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2025-02-10 11:58:19 +08:00
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- run: pnpm install
- run: npx markdownlint-cli "**/*.md" --ignore "docs/index.md"