Skip to content

External Links Validator #316

External Links Validator

External Links Validator #316

name: External Links Validator
on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: '0 12 * * 6'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Check links
id: lychee
uses: lycheeverse/lychee-action@v2.1.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