Skip to content

Markdownlint: Move required heading structure into TOP004 rule directly #109

Markdownlint: Move required heading structure into TOP004 rule directly

Markdownlint: Move required heading structure into TOP004 rule directly #109

name: MarkDownLint
on:
pull_request:
paths:
- '**/project*.md'
- '!./*.md'
- '!./archive/**.md'
- '!./templates/**.md'
- '!./markdownlint/docs/**.md'
jobs:
project_lint:
name: Lint project files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tj-actions/changed-files@v41
id: changed-files
with:
files: |
**/project*.md
!./*.md
!README.md
!./archive/**.md
!./templates/**.md
!./markdownlint/docs/**.md
separator: ','
- uses: DavidAnson/markdownlint-cli2-action@v14
with:
globs: ${{ steps.changed-files.outputs.all_changed_files }}
separator: ','