31 lines
692 B
YAML
31 lines
692 B
YAML
name: Links
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * *" # Every day at midnight
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/links.yml"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'containerd/containerd'
|
|
name: lychee
|
|
timeout-minutes: 15
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: lycheeverse/lychee-action@v1.10.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
|