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 +