Skip to content

Check Broken links

Check Broken links #8

Workflow file for this run

name: Check Broken links
on:
workflow_dispatch:
schedule: # Run every Sunday at 6 am
- cron: '00 06 * * 0'
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Link Checker
id: lychee
uses: lycheeverse/[email protected]
with:
args: '**/*.ts'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with:
title: '[Bot] Broken Links Checker'
content-filepath: ./lychee/out.md
labels: broken-link, automated-link-issue