Skip to content

Weekly External Link Check #2

Weekly External Link Check

Weekly External Link Check #2

Workflow file for this run

name: Weekly External Link Check
on:
schedule:
# Every Monday at 08:00 UTC
- cron: "0 8 * * 1"
workflow_dispatch:
permissions:
contents: read
jobs:
link-check:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v7
- name: Set up Ruby
uses: ruby/setup-ruby@003a5c4d8d6321bd302e38f6f0ec593f77f06600
- name: Get NodeJS version
run: echo "NODE_VERSION=$(cat .node-version)" >> $GITHUB_OUTPUT
id: node_version
- name: Set up NodeJS
uses: actions/setup-node@v7.0.0
with:
node-version: "${{ steps.node_version.outputs.NODE_VERSION }}"
- name: Bootstrap
run: script/bootstrap
- name: Build site
run: script/build
- name: Check links (including external URLs)
run: bundle exec script/html-proofer
env:
CHECK_EXTERNAL_LINKS: true