From e0f6c824b127f4f8942f7f6fa612a1d6b4f0d59b Mon Sep 17 00:00:00 2001 From: Daniel1464 Date: Sat, 18 Jul 2026 00:13:45 -0400 Subject: [PATCH] initial --- .github/workflows/check-links.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/check-links.yml diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml new file mode 100644 index 00000000..59365c2b --- /dev/null +++ b/.github/workflows/check-links.yml @@ -0,0 +1,29 @@ +name: Check for Dead Links + +on: + repository_dispatch: + workflow_dispatch: + schedule: + - cron: '00 18 * * *' + +jobs: + linkChecker: + runs-on: ubuntu-latest + permissions: + issues: write # required for peter-evans/create-issue-from-file + steps: + - uses: actions/checkout@v7 + + - name: Link Checker + id: lychee + uses: lycheeverse/lychee-action@v2 + with: + fail: false + + - name: Create Issue From File + if: steps.lychee.outputs.exit_code != 0 + uses: peter-evans/create-issue-from-file@V5 + with: + title: Invalid Link Detected + content-filepath: ./lychee/out.md + labels: report, automated issue