Files

36 lines
815 B
YAML

name: Check links
on:
push:
branches: [main]
paths:
- '**/*.md'
- '.github/workflows/links.yml'
- 'lychee.toml'
pull_request:
paths:
- '**/*.md'
- '.github/workflows/links.yml'
- 'lychee.toml'
schedule:
- cron: '23 6 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
links:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
with:
persist-credentials: false
- name: Check documentation links
uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2
with:
args: --no-progress README.md CONTRIBUTING.md 'docs/*.md'
token: ${{ secrets.GITHUB_TOKEN }}
fail: true