Skip to content

Commit

Permalink
add check-link-rot.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pdwaggoner authored Jan 13, 2025
1 parent e64ae14 commit ee25b9d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/check-link-rot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Check Link Rot

on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * 0'

jobs:
link-check:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install lychee (Link Checker)
uses: lycheeverse/[email protected]
with:
args: --verbose --exclude-mail --timeout 20 .

- name: Upload broken links report (if any)
if: failure()
uses: actions/upload-artifact@v3
with:
name: broken-links-report
path: lychee.out

0 comments on commit ee25b9d

Please sign in to comment.