Skip to content

add pr-validation

add pr-validation #5

Workflow file for this run

name: Markdown Lint
on:
pull_request:
branches:
- main # Or your default branch name
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install markdownlint-cli
run: npm install -g markdownlint-cli2
- name: Run markdownlint
run: markdownlint-cli2 --config .markdownlint.jsonc "**/*.md" "#node_modules" "#.git
# You can add a configuration file for markdownlint-cli2 if needed,
# e.g., .markdownlint.jsonc at the root of your repo.
# Example: markdownlint-cli2 --config .markdownlint.jsonc "**/*.md"