From f3505c839e64ed2c5384db3d9c3fa8212b07313a Mon Sep 17 00:00:00 2001 From: Nightt <87569709+nightt5879@users.noreply.github.com> Date: Fri, 24 Jul 2026 17:09:55 +0800 Subject: [PATCH] Restore markdown link checking Re-enable Linkspector for newly added lines so broken links are caught without blocking unrelated pull requests on pre-existing or transient failures. Refs #5414 --- .github/workflows/validate-markdown.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/validate-markdown.yaml b/.github/workflows/validate-markdown.yaml index 29117a08e0..df88b9c728 100644 --- a/.github/workflows/validate-markdown.yaml +++ b/.github/workflows/validate-markdown.yaml @@ -27,3 +27,19 @@ jobs: - name: Lint other files run: npx --yes markdownlint-cli2 *.md + # workaround for https://github.com/UmbrellaDocs/action-linkspector/issues/62 + - name: Install Chrome + run: | + sudo apt-get update + sudo apt-get install -y google-chrome-stable + echo "PUPPETEER_SKIP_DOWNLOAD=true" >> $GITHUB_ENV + echo "PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome" >> $GITHUB_ENV + + - name: Check links added to markdown files + uses: umbrelladocs/action-linkspector@v1 + with: + config_file: .linkspector.yml + reporter: github-check + fail_level: any + filter_mode: added +