Skip to content

Link check

Link check #763

Workflow file for this run

# This workflow will check links on www.library.ucsf.edu.
name: Link check
on:
schedule:
# Run every day at 4:05 AM.
- cron: '5 4 * * *'
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
# Skip anything that is not *.ucsf.edu, and also skip Springshare (LibGuides, LibCal)
# because it rate limits aggressively, and other sites (Zendesk, makeagift) that block bots.
- run: npx linkinator --concurrency 10 -r --skip '^(?!https?://.*.ucsf.edu/)|https?://calendars.library.ucsf.edu/|https?://guides.ucsf.edu/|https?://libraryhelp.ucsf.edu/|https?://makeagift.ucsf.edu/' https://www.library.ucsf.edu/ -f csv