Skip to content

fix: Update container workflow #20

fix: Update container workflow

fix: Update container workflow #20

name: 'Markdown Lint'
on:
pull_request:
workflow_call:
permissions:
contents: read
pull-requests: read
jobs:
markdown-lint:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
- name: "Filter Changes"
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
id: changes
with:
filters: |
src:
- '**.md'
# lint markdown
- name: "Lint Markdown"
if: steps.changes.outputs.src == 'true'
run: |
npm install -g markdownlint-cli
markdownlint '**.md' --ignore node_modules --disable MD013