Skip to content

DC-5259 Added Lychee Link Checker #1

DC-5259 Added Lychee Link Checker

DC-5259 Added Lychee Link Checker #1

Workflow file for this run

name: Lychee Link Checker
on: [pull_request]
jobs:
linkChecker:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/checkout@v4
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
fail: true
- name: Create Issue From File
if: steps.lychee.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue
# name: Linkspector
# on: [pull_request]
# jobs:
# check-links:
# name: runner / linkspector
# runs-on: ubuntu-22.04
# permissions:
# contents: write
# steps:
# - uses: actions/checkout@v4
# - name: Run linkspector
# uses: umbrelladocs/action-linkspector@v1.3.7
# with:
# github_token: ${{ secrets.github_token }}
# reporter: github-pr-check
# fail_on_error: true
# filter_mode: nofilter
# config_file: .github/workflows/config/.linkspector.yml