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
20 changes: 18 additions & 2 deletions .github/workflows/link-check-online.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,29 @@ on:
- cron: '0 13 * * 0' # 13:00 UTC every Sunday
workflow_dispatch:

permissions:
contents: read
issues: write

jobs:
lychee-online:
name: lychee (network)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: lycheeverse/lychee-action@v2
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
args: --verbose --no-progress '**/*.md'
fail: true
fail: false

- name: Create issue from broken-link report
if: steps.lychee.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: |
link-rot
automated
Loading