✅ Merge main
into live
#108
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 | |
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 --config ".markdownlint-cli2.jsonc" "**/*.md" |