Skip to content

Commit 3af4136

Browse files
committed
ci: Replace markdown-lint action
Use the GitHub Action maintained by the author of markdownlint-cli.
1 parent 3f38397 commit 3af4136

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/docs.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
filter_mode: nofilter
2626

2727
- name: Lint
28-
uses: avto-dev/markdown-lint@v1
28+
uses: DavidAnson/markdownlint-cli2-action@v17
2929
with:
30-
args: '**/*.md'
31-
config: .github/workflows/lint/markdown.yml
30+
config: .github/workflows/lint/rules.markdownlint.yml
31+
globs: |
32+
**/*.md
33+
!.github/ISSUE_TEMPLATE/*.md

.github/workflows/lint/markdown.yml renamed to .github/workflows/lint/rules.markdownlint.yml

-6
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,3 @@ MD047: true
144144
# Code fence style <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md048>
145145
MD048:
146146
style: 'backtick'
147-
148-
# Custom rules:
149-
CHANGELOG-RULE-001: true
150-
CHANGELOG-RULE-002: true
151-
CHANGELOG-RULE-003: true
152-
CHANGELOG-RULE-004: true

0 commit comments

Comments
 (0)