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
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@ jobs:
# --offline blocks network requests and excludes every external URL, so this
# gate is deterministic: it fails only on a relative link or file path that a
# diff actually broke. External rot is the weekly links.yml run's job.
# Tag-pinned and cross-repo URLs do not match the --remap pattern and stay
# excluded: they point at trees this checkout does not have.
- name: Check local links
uses: lycheeverse/lychee-action@v2
with:
args: >-
--offline
--no-progress
--remap
'https://github\.com/${{ github.repository }}/(?:blob|tree)/main/(.*) file://${{ github.workspace }}/$1'
'**/*.md'

test:
Expand Down
Loading