From 8ce175cd0083bb0325fd4642284d21b9e1f73138 Mon Sep 17 00:00:00 2001 From: Phil Rzewski Date: Tue, 2 Jun 2026 15:29:07 -0700 Subject: [PATCH] Install and point at Chrome to be used by linkspector --- .github/workflows/markdown-lint.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/markdown-lint.yaml b/.github/workflows/markdown-lint.yaml index 707d39423e..70ce029166 100644 --- a/.github/workflows/markdown-lint.yaml +++ b/.github/workflows/markdown-lint.yaml @@ -15,10 +15,20 @@ jobs: - uses: actions/checkout@v4 - name: Lint run: make markdown-lint + + - id: setup-chrome + uses: browser-actions/setup-chrome@v2 + with: + chrome-version: stable + + - name: Point Puppeteer at the installed Chrome + run: echo "PUPPETEER_EXECUTABLE_PATH=${{ steps.setup-chrome.outputs.chrome-path }}" >> "$GITHUB_ENV" + - uses: umbrelladocs/action-linkspector@v1 with: fail_on_error: true filter_mode: nofilter + - name: Inform Slack users of link check failures uses: tiloio/slack-webhook-action@v1.1.2 if: failure() && github.ref_name == 'main' @@ -27,5 +37,5 @@ jobs: slack_json: | { "username": "markdown-link", - "text": "Markdown link check failed: ${{ github.event.workflow_run.html_url }}" + "text": "Markdown link check failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" }