Skip to content

[pull] main from fastify:main #934

[pull] main from fastify:main

[pull] main from fastify:main #934

Workflow file for this run

name: Internal Links Check
on:
pull_request:
paths:
- 'docs/**'
- '*.md'
permissions:
contents: read
jobs:
linkChecker:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Check out repo
uses: actions/checkout@v5
with:
persist-credentials: false
# It will be possible to check only for the links in the changed files
# See: https://github.com/lycheeverse/lychee-action/issues/17
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@885c65f3dc543b57c898c8099f4e08c8afd178a2 # v2.6.1
with:
fail: true
# As external links behavior is not predictable, we check only internal links
# to ensure consistency.
# See: https://github.com/lycheeverse/lychee-action/issues/17#issuecomment-1162586751
args: --offline --verbose --no-progress './**/*.md'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}