From 463dc40494012b114888eceb4a9ca59e0a90f645 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Thu, 29 Jun 2023 13:59:28 -0500 Subject: [PATCH] ci: Fix markdown lint Commit fb6b49f9 introduced a regression in the markdown lint workflow by converting the inline configuration options to a `.markdownlint.jsonc` file. However, this file is not used by the Ruby version of markdownlint (which is used here). It is used by the Node version instead. The correct file would have been `.mdlrc`. This commit simply restores the inline options as they were before that job was refactored out into its own file. This gets the lint logic working again without much fuss. --- .github/workflows/lint-markdown.yml | 2 +- .markdownlint.jsonc | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 .markdownlint.jsonc diff --git a/.github/workflows/lint-markdown.yml b/.github/workflows/lint-markdown.yml index 0fb4fe3e1..00774968c 100644 --- a/.github/workflows/lint-markdown.yml +++ b/.github/workflows/lint-markdown.yml @@ -12,5 +12,5 @@ jobs: docker run --rm \ -v "${GITHUB_WORKSPACE}":/data \ markdownlint/markdownlint \ - -c "/data/.markdownlint.jsonc" \ + -r ~MD013,~MD033,~MD034,~MD046,~MD002,~MD041 \ . diff --git a/.markdownlint.jsonc b/.markdownlint.jsonc deleted file mode 100644 index 31f2f65a4..000000000 --- a/.markdownlint.jsonc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "default": true, - "MD013": false, - "MD033": false, - "MD024": false, - "MD028": false, - "MD046": fenced -}