From 8bff2ce8a7f475dd1af40b5c8a50e5d926d296e8 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Fri, 25 Oct 2024 10:13:12 +0200 Subject: [PATCH] Use "future-proof" glob pattern for markdownlint --- .github/workflows/validate-markdown.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/validate-markdown.yaml b/.github/workflows/validate-markdown.yaml index 6038fef2a9..cd9d503ae4 100644 --- a/.github/workflows/validate-markdown.yaml +++ b/.github/workflows/validate-markdown.yaml @@ -29,7 +29,5 @@ jobs: node-version: '20.x' - name: Validate markdown run: npx --yes mdv versions/3.*.md - - name: Lint markdown v3.0.4 - run: npx --yes markdownlint-cli --config .markdownlint.yaml versions/3.0.4.md - - name: Lint markdown v3.1.1 - run: npx --yes markdownlint-cli --config .markdownlint.yaml versions/3.1.1.md + - name: Lint markdown 3.0.4, 3.1.1, and later + run: npx --yes markdownlint-cli --config .markdownlint.yaml versions/3.0.4.md versions/3.1.[^0].md versions/3.[2-9].*.md