Skip to content

Ruby: Add Homebrew verification step #55

Ruby: Add Homebrew verification step

Ruby: Add Homebrew verification step #55

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