Skip to content

External Links Validator #311

External Links Validator

External Links Validator #311

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