Broken Link Checker #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Broken Link Checker | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "00 18 * * *" | |
jobs: | |
linkChecker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Check Links | |
uses: lycheeverse/lychee-action@v1.9.3 | |
with: | |
args: --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' --exclude-mail | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- name: Create Issue From File | |
if: env.lychee_exit_code != 0 | |
uses: peter-evans/create-issue-from-file@v5.0.0 | |
with: | |
title: Link Checker Report | |
content-filepath: ./lychee/out.md | |
labels: Broken Link |