Files
containerd/.github/workflows/links.yml
Derek McGowan edd84f4a65 Add read permission limit on link workflow
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-07-15 07:05:34 -07:00

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