Merge pull request #9496 from mxpv/links

Add nighly job to verify doc links (and fix broken links)
This commit is contained in:
Samuel Karp
2023-12-12 23:04:50 +00:00
committed by GitHub
7 changed files with 45 additions and 10 deletions

26
.github/workflows/links.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Links
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # Every day at midnight
pull_request:
paths:
- ".github/workflows/links.yml"
jobs:
check:
runs-on: ubuntu-latest
name: lychee
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: lycheeverse/lychee-action@v1.8.0
with:
# Fail action on broken links
fail: true
args: --exclude-path vendor --exclude-path releases --timeout 30 --no-progress './**/*.md'
format: markdown
# Write GitHub job summary
jobSummary: true