From ffc013414175afd336e0b5d9f3644e7de3168d29 Mon Sep 17 00:00:00 2001 From: Nico Burns Date: Sun, 23 Apr 2023 11:59:30 +0100 Subject: [PATCH] CI: Switch to DavidAnson/markdownlint-cli2-action for markdown linting (#463) --- .github/workflows/ci.yml | 11 +++-------- .../linters/.markdown-lint.yml => .markdownlint.yml | 0 2 files changed, 3 insertions(+), 8 deletions(-) rename .github/linters/.markdown-lint.yml => .markdownlint.yml (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7128c9db0..e073acd3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -163,12 +163,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - with: - # Full git history is needed to get a proper list of changed files within `super-linter` - fetch-depth: 0 - name: Run Markdown Lint - uses: docker://ghcr.io/github/super-linter:slim-v4 - env: - VALIDATE_ALL_CODEBASE: true - VALIDATE_MARKDOWN: true - DEFAULT_BRANCH: master + uses: DavidAnson/markdownlint-cli2-action@v9 + with: + globs: '**/*.md' diff --git a/.github/linters/.markdown-lint.yml b/.markdownlint.yml similarity index 100% rename from .github/linters/.markdown-lint.yml rename to .markdownlint.yml