Skip to content

Bump lycheeverse/lychee-action from 1.10.0 to 2.0.0 #110

Bump lycheeverse/lychee-action from 1.10.0 to 2.0.0

Bump lycheeverse/lychee-action from 1.10.0 to 2.0.0 #110

name: Broken Link Checker PR
on:
pull_request:
types:
- synchronize
- opened
paths:
- docs/**
- .github/workflows/broken-link-checker-pr.yaml
- .lycheeignore
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check Links
uses: lycheeverse/[email protected]
with:
args: --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' --exclude-mail
output: /tmp/out.md
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: PR comment with Broken Links
if: env.lychee_exit_code != 0
uses: thollander/[email protected]
with:
filePath: /tmp/out.md
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}