CI: Switch to DavidAnson/markdownlint-cli2-action for markdown linting (#463)
Semántico sayk'uy
Mana ima sutichaypas t'ikrakurqanchu: qillqalla, yachachiylla utaq willaylla t'ikrakurqan.
3 qillqakuna · +33 −38
- .github/linters/.markdown-lint.yml +0 −30
- .github/workflows/ci.yml +3 −8
- .markdownlint.yml +30 −0
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