name: Documentation PRs

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master
      
jobs:
  linting:
    name: "Markdown linting"
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        name: Check out the code
      - name: Lint Code Base
        uses: docker://avtodev/markdown-lint:v1
        with:
          args: "docs/**/*.md"
  spellcheck:
    name: "Spell check"
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        name: Check out the code
      - uses: actions/setup-node@v1
        name: Setup node
        with:
          node-version: "16"
      - run: npm install -g cspell
        name: Install cSpell
      - run: cspell --config ./docs/cSpell.json "docs/**/*.md"
        name: run cSpell

name: Documentation PRs

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master
      
jobs:
  linting:
    name: "Markdown linting"
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        name: Check out the code
      - name: Lint Code Base
        uses: docker://avtodev/markdown-lint:v1
        with:
          args: "--disable MD009 docs/**/*.md"
  spellcheck:
    name: "Spell check"
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        name: Check out the code
      - uses: actions/setup-node@v1
        name: Setup node
        with:
          node-version: "16"
      - run: npm install -g cspell
        name: Install cSpell
      - run: cspell --config ./docs/cSpell.json "docs/**/*.md"
        name: run cSpell

Disable Markdown linting rule MD009
Disable Markdown linting rule MD009 [skip ci]