From 3af413695d0ea2bb0fb29975c0161e77f6fa4fea Mon Sep 17 00:00:00 2001 From: Antoine Cotten Date: Fri, 11 Oct 2024 13:53:15 +0200 Subject: [PATCH] ci: Replace markdown-lint action Use the GitHub Action maintained by the author of markdownlint-cli. --- .github/workflows/docs.yml | 8 +++++--- .../lint/{markdown.yml => rules.markdownlint.yml} | 6 ------ 2 files changed, 5 insertions(+), 9 deletions(-) rename .github/workflows/lint/{markdown.yml => rules.markdownlint.yml} (97%) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a9ff3bb..27687d6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 diff --git a/.github/workflows/lint/markdown.yml b/.github/workflows/lint/rules.markdownlint.yml similarity index 97% rename from .github/workflows/lint/markdown.yml rename to .github/workflows/lint/rules.markdownlint.yml index dd9e569..ad52be5 100644 --- a/.github/workflows/lint/markdown.yml +++ b/.github/workflows/lint/rules.markdownlint.yml @@ -144,9 +144,3 @@ MD047: true # Code fence style MD048: style: 'backtick' - -# Custom rules: -CHANGELOG-RULE-001: true -CHANGELOG-RULE-002: true -CHANGELOG-RULE-003: true -CHANGELOG-RULE-004: true