Skip to content

Merge branch 'main' of https://github.com/dotnet/docs-maui #1

Merge branch 'main' of https://github.com/dotnet/docs-maui

Merge branch 'main' of https://github.com/dotnet/docs-maui #1

Workflow file for this run

name: Markdownlint
on:
push:
branches:
- main
paths:
- "**/*.md"
- ".markdownlint-cli2.jsonc"
- ".github/workflows/markdownlint.yml"
- ".github/workflows/markdownlint-problem-matcher.json"
pull_request:
paths:
- "**/*.md"
- ".markdownlint-cli2.jsonc"
- ".github/workflows/markdownlint.yml"
- ".github/workflows/markdownlint-problem-matcher.json"
jobs:
lint:
runs-on: ubuntu-latest
permissions:
statuses: write
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
- name: Use Node.js
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516
with:
node-version: 16.x
- name: Run Markdownlint
run: |
echo "::add-matcher::.github/workflows/markdownlint-problem-matcher.json"
npm i -g markdownlint-cli2
markdownlint-cli2 "**/*.md"