Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/markdown-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 }}"
}
Loading