ci: Replace markdown-lint action

Use the GitHub Action maintained by the author of markdownlint-cli.
This commit is contained in:
Antoine Cotten
2024-10-11 13:53:15 +02:00
parent 3f38397660
commit 3af413695d
2 changed files with 5 additions and 9 deletions

View File

@@ -25,7 +25,9 @@ jobs:
filter_mode: nofilter
- name: Lint
uses: avto-dev/markdown-lint@v1
uses: DavidAnson/markdownlint-cli2-action@v17
with:
args: '**/*.md'
config: .github/workflows/lint/markdown.yml
config: .github/workflows/lint/rules.markdownlint.yml
globs: |
**/*.md
!.github/ISSUE_TEMPLATE/*.md

View File

@@ -144,9 +144,3 @@ MD047: true
# Code fence style <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md048>
MD048:
style: 'backtick'
# Custom rules:
CHANGELOG-RULE-001: true
CHANGELOG-RULE-002: true
CHANGELOG-RULE-003: true
CHANGELOG-RULE-004: true