name: markdown
permissions:
contents: read
on:
pull_request:
paths:
- .github/workflows/markdown.yml
- '**/*.md'
jobs:
markdownlint:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- uses: DavidAnson/markdownlint-cli2-action@ded1f9488f68a970bc66ea5619e13e9b52e601cd
with:
globs: |
**/*.md
!**/node_modules/**
!target/**