From 227293b0f996de3cb2183a8ab93054c59b1b995b Mon Sep 17 00:00:00 2001 From: David Pine Date: Thu, 11 Jul 2024 13:10:06 -0500 Subject: [PATCH] Use a non-pinned version. Fixes #1350 (#1351) --- .github/workflows/markdownlint.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml index b3a28523f3..788d056e32 100644 --- a/.github/workflows/markdownlint.yml +++ b/.github/workflows/markdownlint.yml @@ -32,12 +32,8 @@ jobs: egress-policy: audit - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - name: Use Node.js - uses: actions/setup-node@eff380dfbcf941bf8832e4acb788cebe13dfd758 + - uses: DavidAnson/markdownlint-cli2-action@b4c9feab76d8025d1e83c653fa3990936df0e6c8 # v16.0.0 with: - node-version: 20.x - - name: Run Markdownlint - run: | - echo "::add-matcher::.github/workflows/markdownlint-problem-matcher.json" - npm i -g markdownlint-cli2 - markdownlint-cli2 --config ".markdownlint-cli2.jsonc" "**/*.md" + config: ".markdownlint-cli2.jsonc" + globs: "**/*.md" +