From 94a26070bf0f4947c66171d99a16c91d6fa4dbca Mon Sep 17 00:00:00 2001 From: YunShu Date: Tue, 28 Nov 2023 10:25:01 +0800 Subject: [PATCH] ci: use fixed version of markdownlint-cli --- .github/workflows/markdownlint.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml index 4ba2e4b..360e31e 100644 --- a/.github/workflows/markdownlint.yml +++ b/.github/workflows/markdownlint.yml @@ -1,6 +1,7 @@ name: Markdown Lint on: + workflow_dispatch: pull_request: paths: - 'docs/**' @@ -14,12 +15,12 @@ jobs: uses: actions/checkout@v3 - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: '18.x' - name: Install markdownlint - run: npm install -g markdownlint-cli + run: npm install -g markdownlint-cli@0.35.0 - name: Run markdownlint run: markdownlint 'docs/**/*.{md,mdx}' --config .markdownlint.jsonc