Add nighly job to verify doc links
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
parent
9e4d53df75
commit
c9fa5b9801
26
.github/workflows/links.yml
vendored
Normal file
26
.github/workflows/links.yml
vendored
Normal 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 --no-progress './**/*.md'
|
||||
format: markdown
|
||||
# Write GitHub job summary
|
||||
jobSummary: true
|
Loading…
Reference in New Issue
Block a user