Skip to content

Merge pull request #8 from 42ByteLabs/rocket-errors #17

Merge pull request #8 from 42ByteLabs/rocket-errors

Merge pull request #8 from 42ByteLabs/rocket-errors #17

Workflow file for this run

name: 'Markdown Lint'
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
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