-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (28 loc) · 1.01 KB
/
Copy pathcheck-links.yml
File metadata and controls
31 lines (28 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Check Links
# Thin caller for the shared reusable workflow in Morrison-Lab/gha.
# The reusable workflow reproduces the previous standalone behavior: lychee
# link check over .qmd/.md/.html, a PR skip-label ("links checked by hand"),
# and auto-filing an issue when links break on main. We pass our repo-local
# lychee.toml so the qwt-specific excludes (e.g. quarto.org) still apply.
# See https://github.com/Morrison-Lab/gha for inputs and versioning.
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
schedule:
# Run weekly on Mondays at 9:00 UTC to catch link rot
- cron: '0 9 * * 1'
workflow_dispatch:
jobs:
# Keep the job id (link-checker) matching the previous standalone workflow so
# the status-check context name doesn't change.
link-checker:
permissions:
contents: read
issues: write
pull-requests: read
uses: Morrison-Lab/gha/.github/workflows/check-links.yml@v2
with:
lychee-config: lychee.toml