Skip to content

External Links Validator #304

External Links Validator

External Links Validator #304

name: External Links Validator
on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: '0 12 * * 6'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Check links
id: lychee
uses: lycheeverse/lychee-action@v1.10.0
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Create an issue if needed
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